[jboss-user] [Beginner's Corner] - Re: Looking for Examples

Peter Johnson do-not-reply at jboss.com
Thu Sep 30 07:30:27 EDT 2010

Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: Looking for Examples"

To view the discussion, visit: http://community.jboss.org/message/564170#564170

By default every time you start SeamBay the database gets wiped out and reset. You need to change the hibernate.hbm2ddl.auto setting in META-INF/persistence.xml to update. (I have found that I need to set it to 'create' for the first run and then set it to 'update' for subsequent runs.)

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100930/72f33abd/attachment.html 

More information about the jboss-user mailing list