Any JPA features for updating table metadata without loosing existing data?

Hi there,

I'm having a database with live data in it.

Now i have to change some tables (add columns, etc.). How can i do this without using drop-create-schema mechanics?

Do i really have to change my entity classes first, change schema creation to just create-schema so that only new tables are created automatically and finally have to put all the "alter table" stuff manually?

Is there any better solution?

Thanx in advance

[463 byte] By [GeraldZaynarda] at [2007-11-27 3:55:48]
# 1
no need, you can add columns using alter table command.The table schema change will not affect your entities.stop the application.change the table columns.start application having new entities.let me know
amarpolimeraa at 2007-7-12 9:00:00 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...