[jboss-user] [jBPM] - Re: Session and thread safety
Sebastian Calbaza
do-not-reply at jboss.com
Mon Sep 17 14:04:22 EDT 2012
Sebastian Calbaza [https://community.jboss.org/people/calbazasebastian] created the discussion
"Re: Session and thread safety"
To view the discussion, visit: https://community.jboss.org/message/760012#760012
--------------------------------------------------------------
As a note.. if you are using JPAWorkingMemoryDbLogger you need to override the getEntityManager/0 method. Mine is like this:
final JPAWorkingMemoryDbLogger logger = new JPAWorkingMemoryDbLogger(
ksession) {
@Override
protected EntityManager getEntityManager() {
return persistenceContextManager.getCmdScopedEntityManager().get();
}
};
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760012#760012]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120917/22e73336/attachment.html
More information about the jboss-user
mailing list