users@glassfish.java.net

JPA: Entity Upgrades

From: <glassfish_at_javadesktop.org>
Date: Wed, 26 Sep 2007 06:08:36 PDT

Hello,

I have a problem with my application using JPA/Toplink/Derby

I noticed nothing happens on my database when I add new fields on my entity class (with automatic ddl-generation=create). I have to add the fields directly via SQL...not so good for a data-centric application with the data-structure often updated.

Is there a way to automate those schema upgrades?

Thanks, Chris.
[Message sent by forum member 'chris76' (chris76)]

http://forums.java.net/jive/thread.jspa?messageID=237133