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

Mauricio Salatino do-not-reply at jboss.com
Wed Dec 21 06:32:36 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/642652#642652

The second option that you are trying makes no sense at all. 
You should continue trying with the first one.. looking how to create a persistence unit and inject the current session that you have available.
I remember an article that explains how to create a new persistence unit using a persistence.xml file and then inject the session inside it once is created. You should try that option. 


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/20111221/ed2a367f/attachment.html 

More information about the jboss-user mailing list