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.
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/642652#642652]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]