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

Mauricio Salatino do-not-reply at jboss.com
Tue Dec 20 12:45:28 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/642516#642516

--------------------------------------------------------------
Juan, Thanks for the links and references. What I was saying is the fact that he has a Hibernate Session that will be wrapped by an Entity Manager. As you mention, all the entity managers will share the same session and that's why he will need to inject his current session inside an entity manager. If it's the same session and he is not using another transactional resource there will be just one transaction to commit or rollback so there will be no need to distributed transactions configurations.

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

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

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/5da525d3/attachment-0001.html 


More information about the jboss-user mailing list