[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.
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]
-------------- 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