This content has been marked as final.
Show 2 replies
-
2. Re: Entity beans deployment - database data erased on follow
norman.richards Dec 21, 2005 12:07 PM (in response to razel)Look in ejb3.deployer/META-INF/persistence.properties and you'll see the default table creation strategy. On my 4.0.3 install it is:
hibernate.hbm2ddl.auto=create-drop
I don't seem to recall that always being the default, but in any event you'll find you want to override the table creation strategy by setting this property in your persistence.xml file.