JBoss Community

Re: JBPM's persistence reusing existing connection

created by Mauricio Salatino in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community