[jboss-user] [EJB 3.0] - Re: How to turn off
weston.price@jboss.com
do-not-reply at jboss.com
Tue Nov 21 10:26:15 EST 2006
In your hibernate.properties or your persistence.xml file you need to set the following:
hibernate.hbm2ddl.auto=update
This will create your schema initially and not drop after your SessionFactory is iinitially closed. It should do 'diffs' for you as well.
http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html#configuration-optional
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987581#3987581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987581
More information about the jboss-user
mailing list