Hi Hans,

Hans Novak wrote:
Hi,

how can i update the Database, if i change my Java-sourcecode and with that the database structure, without loosing any data. Until now i use the mysql command to import the SQL-Ascii File, created from OJB with ant.
But this deletes first all tables.

The upcoming version of OJB 1.0.5 use DdlUtils instead of Torque to generate the tables of the unit tests. DdlUtils supports alteration of tables - maybe this can help to solve your problem.

http://db.apache.org/ddlutils/documentation.html

regards,
Armin


Hans

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to