Laura delli Paoli [
https://community.jboss.org/people/lauradp] created the discussion
"No Persistence provider for EntityManager named org.jbpm.task"
To view the discussion, visit:
https://community.jboss.org/message/785089#785089
--------------------------------------------------------------
Hello!
I'm trying to make my process data persistent and when I run
| EntityManagerFactory emf =
Persistence.createEntityManagerFactory("org.jbpm.task", properties); |
|
|
I get this error:
*No Persistence provider for EntityManager named org.jbpm.task*
*I'm starting my process in this way*
| EntityManagerFactory emf =
Persistence.createEntityManagerFactory("org.jbpm.task", properties); |
|
|
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("org.jbpm.task", properties);
KnowledgeSessionConfiguration config =
KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties);
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
env.set(EnvironmentName.GLOBALS, new MapGlobalResolver());
StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase,
null, env);
ksession.startProcess("my_process", params);
See my persistence.xml attached.
Can anyone help me??
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/785089#785089]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]