[JBoss-user] [EJB 3.0] - Re: Entity beans deployment - database data erased on follow

2005-12-21 Thread [EMAIL PROTECTED]
http://www.jboss.com/index.html?module=bbop=viewtopict=73750

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913831#3913831

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913831


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Entity beans deployment - database data erased on follow

2005-12-21 Thread [EMAIL PROTECTED]
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.





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913832#3913832

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913832


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user