JBoss Community

Re: JBPM's persistence reusing existing connection

created by Mauricio Salatino in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community