JBoss Community

Re: Persistence unit name for jBPM5

created by Maciej Swiderski in jBPM - View the full discussion

Sure, you can use another persistence unit. When you create session you need to build up environment that contains entity manager factory, and that is the place where you should use your new name.

Alternative, could be to get rid of second instance of persistence unit and reuse that one loaded by console.

 

HTH

Reply to this message by going to Community

Start a new discussion in jBPM at Community