[jboss-dev-forums] [jBPM Development] - Re: Table data loss after re-deploy application

Chris Melas do-not-reply at jboss.com
Mon Dec 12 04:18:26 EST 2011


Chris Melas [http://community.jboss.org/people/melc] created the discussion

"Re: Table data loss after re-deploy application"

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

--------------------------------------------------------------
Hi,
Why don't you comment out the line,

<property name="hibernate.hbm2ddl.auto" value="create" />

after the first deployment?
Regarding the task service from the default ant script of jbpm, that attempts to insert users and groups, you can simply handle the exceptions with try catch in the code of the class DemoTaskService.java.
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111212/1d0051c2/attachment.html 


More information about the jboss-dev-forums mailing list