Re: Database Update
Armin Waibel <[email protected]> Fri, 16 May 2008 16:50:11 +0200
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
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] > >