[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

Demian Calcaprina do-not-reply at jboss.com
Tue Dec 13 22:27:49 EST 2011


Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

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

--------------------------------------------------------------
If you change the database, you have to find the XA datasource of this db.

If you see in your persistence.xml, the property hibernate.hbm2ddl.auto=create indicates that each time the application is started the database will be recreated. This will make you loose all data each time you restart the application. If you set it to update, it will only update the changes (for example, if you add a column in hibernate, when you start the application the column will be added to the database.

Demian
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/641423#641423]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111213/e9be8d12/attachment-0001.html 


More information about the jboss-user mailing list