Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created 
the discussion

"Re: Persistence unit name for jBPM5"

To view the discussion, visit: http://community.jboss.org/message/639288#639288

--------------------------------------------------------------
Yes, this is the way you build up entity manager factory but you found for task 
server and what you are looking for (as original post refers to) is session 
state persistence.
So you should look for a place in your application where you create stateful 
sessions rather than knowledge base. There you should utilize 
JPAKnowledgeService to create session where one of the arguments for the 
newStatefulKnowledgeSession method is environment that should contain entity 
manager factory instance.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/639288#639288]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to