[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Database changes vanish after jboss closed
Raist_Majere
do-not-reply at jboss.com
Fri Oct 5 23:56:44 EDT 2007
You have to change hibernate.hbm2ddl.auto from create-drop to some other value, maybe update or validate if you already have the tabled (haven't used Hibernate...). This is the help I've found:
anonymous wrote :
| hibernate.hbm2ddl.auto
| Automatically validate or export schema DDL to the database when the SessionFactory is created. With create-drop, the database schema will be dropped when the SessionFactory is closed explicitly.
| eg. validate | update | create | create-drop
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092235#4092235
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092235
More information about the jboss-user
mailing list