We have a web application that uses Spring / JPA / Hibernate. We are currently using SolidBase to manage database changes, which works well in a managed deployment model, but we are now moving on to a non-deployment model, where users can download the web application. We are creating "Update Center" type functionality for a web application and trying to figure out how we should apply database changes.
Ideally, I would like the application to apply any pending database changes when the application starts, and I would like it to be something that we can program programmatically, but I do not want to rewrite the Hibernate SchemaExport functionality for this.
Does anyone have any recommendations, templates, or best practices on how we can best implement this functionality in our application?
Are there application libraries for update centers that will solve our problem (I could not find any)?
source share