gamby1980 wrote:
Scuse me but this answer doesn't resolve the problem.
Correct, patches resolve problems.
Quote:
There is a real problem, that is, an application in which, version after version, its database is changed, where these changes could be either new columns either some column deletion....
Yes, but schemaupdate was never intended to be used for migrating prod systems automatically.
Quote:
SchemUpdate is unusable
For development it is rather useful.
Quote:
I have to design a mechanism with jdbc and with sql scripts that I deploy with my app and that they are executed on the first execution of the new just installed version performing updating work...
Yes, so create a delta script and execute it.
The solution for this is not schemaupdate but more something like Migrations as known in Rails. I always wanted to do a Hibernate Migrations API but never had the time to do it....any takers ?