Hi,
I just want to start a process using persistence. (for begining: not using Human Taks, or an Application Server). I allready wrote the code for this:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);
ksession.startProcess(processId);
But I am wondering how to tell this process about location of my configuration files: jBPM.properties, persistence.xml ?
Also I need to use hibernate ?
Thanks.