JBoss Community

Re: JPBM persistence and transaction Questions

created by Mauricio Salatino in jBPM - View the full discussion

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

 

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

 

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community