JBoss Community

Re: Looking for Examples

created by Peter Johnson in Beginner's Corner - View the full discussion

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