JBoss Community

Re: Instantiating workflow from EJB deployed as part of .ear : javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory

created by Gary tse in jBPM - View the full discussion

Try using JBossTransactionManagerLookup... not sure why you have it commented out.

 

<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />

 

Next, set this to validate if the tables are already created previously :

 

<property name="hibernate.hbm2ddl.auto" value="validate" />

 

Good luck

Reply to this message by going to Community

Start a new discussion in jBPM at Community