[jboss-user] [jBPM] - Re: JPBM persistence and transaction Questions

Mauricio Salatino do-not-reply at jboss.com
Mon Dec 3 13:29:29 EST 2012


Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the discussion

"Re: JPBM persistence and transaction Questions"

To view the discussion, visit: https://community.jboss.org/message/779704#779704

--------------------------------------------------------------
Just in the same way, you only need to create a single persisntece unit and use that for both.. session and local human task service.
Here is an example:  https://github.com/Salaboy/jBPM5-Developer-Guide/blob/master/chapter_08/jBPM5-PersistentProcess/src/test/java/com/salaboy/jbpm5/PersistentProcessTest.java#L375 https://github.com/Salaboy/jBPM5-Developer-Guide/blob/master/chapter_08/jBPM5-PersistentProcess/src/test/java/com/salaboy/jbpm5/PersistentProcessTest.java#L375

Try it and let us know if you have some troubles.

Cheers
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20121203/e582d728/attachment.html 


More information about the jboss-user mailing list