[jboss-user] [JBoss Seam] - Re: why not automatic tables creation

hstang do-not-reply at jboss.com
Thu Sep 6 22:24:55 EDT 2007


if you're using JPA, specify this in your persistence.xml
 
  |       <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  | 

if you are strictly using hibernate, then you do something similar with hibernate.properties or hibernate.cfg.xml

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081928#4081928

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081928



More information about the jboss-user mailing list