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]

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

Reply via email to