Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8829765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:54:35+00:00 2026-06-14T07:54:35+00:00

Background I have been working with a couple mobile applications that are based on

  • 0

Background

I have been working with a couple mobile applications that are based on the same sqlite database structure, but run in different languages. You guessed it, ObjC(iOS) and Java(Android) are involved. In the interest of data sharing and interoperability, I want to standardize this schema (there are casing differences, table naming differences, structural differences, etc). As a bonus, I want to be able to check some sort of schema representation into source control and control distinct releases of the schema.

The Problem

While I understand that a created instance of a sqlite database contains schema information, I am not convinced that the distribution of a blank sqlite database is the best way to share that schema. Android, for example, advocates the use of a helper that programmatically creates and/or upgrades the sqlite database.

But if I have code building/upgrading the database, then it seems to force the maintenance of a programmatic schema for every language.

The Question

Are there other options or approaches (beyond a pre-built, metadata-including, blank sqlite database) that would share and standardardize a schema between multiple languages? What might those be? Are these options storable in source control? automatable between multiple platforms?

Any insight is greatly appreciated. We can limp along with one-off versions, but there must be a better way…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:54:36+00:00Added an answer on June 14, 2026 at 7:54 am

    As is often the case when I ask questions, I then scour the web for further leads. It appears that there may be a way to execute multi-line sqlite “scripts”: SQLite – Run multi-line SQL script from file?

    Just need to verify that i can have static “create” script, and “update” scripts, distribute the script, and have the various platforms use this for initialization…

    I will update this answer with my findings.

    Update

    So yeah…with a bit of management, i can have batch scripts that run sqlite3_exec or execSql for each line of a file. Thus i have my scripts in source control as valid sqlite statements. Should be a viable solution…and pretty obvious now that i think about it more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

BACKGROUND I have been working on a tool that is supposed to work in
I have been working on an app for a couple of months now, but
Background I have been working towards automating my Selenium test suite that I developed
For background I have been working on an RPG based off Ray Wenderlich's tutorials.
Background: I have been working on a platformer game written in C++ for a
Some Background I have been using Git for a while now. The projects that
I have been working on a new menu and I'm almost there, but the
I have been working on trying to leverage data contained in an Access Database
I have been working on making my website mobile compatible. Whilst I have successfully
I have been working with changing the background colour of an element using css3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.