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-configurat...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987581#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...