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.
Cheers
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to