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

  • SEARCH
  • Home
  • 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 8351903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:47:26+00:00 2026-06-09T08:47:26+00:00

This might be too broad, but it’s a problem I’m having a bear of

  • 0

This might be too broad, but it’s a problem I’m having a bear of a time dealing with. We have an application that we distribute to our end users. It’s running on top of a derby back end. We can push out code changes fairly easily, it’ll go out to our server, see there’s a new version, download, overwrite old code, and reboot.

But, as we change our code, we also alter the schema of the derby database. We don’t have great methods to update this. Currently we can push SQL updates via FTP. When the program is connected to the internet, it looks for new SQL files, downloads them and runs.

Unfortunately a lot of our clients have limited Internet access, so they get these updates intermittently. Sometimes because they changes are big enough, their local DB schema gets out of sync with what we want. Or they get the code changes via CD but not the SQL changes (someone mails them the CD).

What I’ve been trying to do is create a SOAP service that can serve up XML representations of the schema. It’s been a huge PITA to develop so far.

What are some methods people are currently using to maintain databases like this? I feel like I’m not the first to do this, so there might be better ways than what I’m doing.

Based on some comments here, here’s an update:
Basically, I think we screwed ourselves early on by not adhering to a strict versioning of the DB, so I don’t know how everyone’s DB is at. A lot of people got custom installs built (groan at will). I need a tool that can tell the differences between their DB and a “official” copy.

I have a tool built, it kind of works, but there’s so…many…things to keep track of.

  • 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-09T08:47:28+00:00Added an answer on June 9, 2026 at 8:47 am

    Can you distribute the DB changes as part of the code changes? Then, when the app restarts, it checks if it needs to run any updates on the DB.

    Obviously, you’ll need to version the DB schema to avoid applying the same update more than once.

    I know some applications that do this (mostly in Ruby, but also in Java).

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

Sidebar

Related Questions

I am afraid that this question might be a little too broad, but I
this might have been answered or might be too easy, but I haven't found
All this might look too trivial but read it through - I have simple
This might be too opinionated a question, but looking for help! I have been
i know this question might be too easy, but i have no idea how
This might be related to another problem i am having . But in this
I might be insane to write this here, but I am just too scared
This might have to be broken down a bit but what i want to
I wonder if this might be a too subjective question for stackoverflow but ill
This situation might seem strange but this is what i have to do: Situation,

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.