Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the discussion
"Re: error running ksession.startProcess with Persistence" To view the discussion, visit: http://community.jboss.org/message/590040#590040 -------------------------------------------------------------- sure: > EntityManagerFactory emf = > Persistence.createEntityManagerFactory("org.drools.persistence.jpa"); > Environment env = KnowledgeBaseFactory.newEnvironment(); > env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf); > env.set(EnvironmentName.GLOBALS, new MapGlobalResolver()); > env.set(EnvironmentName.TRANSACTION_MANAGER, > TransactionManagerServices.getTransactionManager()); > ksession = > JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env); > I also updated my first post with the SQL that causes it -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/590040#590040] 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
