[jboss-user] [jBPM] - Re: jBPM 5: how save a ProcessInstance ?

Andy R. do-not-reply at jboss.com
Mon May 30 04:38:00 EDT 2011


Andy R. [http://community.jboss.org/people/jbpm5learner] created the discussion

"Re: jBPM 5: how save a ProcessInstance ?"

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

--------------------------------------------------------------
Sorry, my code example was incomplete - this is the correction of how to create the env-object:

EntityManagerFactory emf = Persistence.+createEntityManagerFactory+("org.jbpm.persistence.jpa");

Environment env = KnowledgeBaseFactory.+newEnvironment+();
env.set( EnvironmentName.+ENTITY_MANAGER_FACTORY+, emf );



--------------------------------------------------------------

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

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/20110530/984a3a31/attachment.html 


More information about the jboss-user mailing list