[jboss-user] [jBPM] - Re: How to make a process instance go on with jBPM5?
Donald Walters
do-not-reply at jboss.com
Tue Oct 25 11:43:57 EDT 2011
Donald Walters [http://community.jboss.org/people/dondragon2] created the discussion
"Re: How to make a process instance go on with jBPM5?"
To view the discussion, visit: http://community.jboss.org/message/633513#633513
--------------------------------------------------------------
I had to use to JPAKnowledgeService ans store the session id elsewhere.
EntityManagerFactory emf = Persistence.createEntityManagerFactory("com.test");
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
env.set(EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager());
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, null, env);
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633513#633513]
Start a new discussion in jBPM at Community
[http://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/20111025/288da462/attachment-0001.html
More information about the jboss-user
mailing list