[jboss-user] [jBPM] - Re: JBPM's persistence reusing existing connection

Mauricio Salatino do-not-reply at jboss.com
Tue Dec 20 07:53:33 EST 2011

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

"Re: JBPM's persistence reusing existing connection"

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

If you are using the JPAKnowledgeService, you need to send you current EntityManager instance as a parameter. As you may know already, jBPM5 uses JPA for the persistence mechanism, so you will need to find out how to create a new EntityManager and inject your current hibernate session in it. If you are planning to do that there is no need to use JTA, because you will just have one Hibernate Session and no syncronization is needed.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111220/688ebf9e/attachment.html 

More information about the jboss-user mailing list