[jboss-user] [jBPM] - Re: Instantiating workflow from EJB deployed as part of .ear : javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
Gary tse
do-not-reply at jboss.com
Thu Aug 4 21:46:08 EDT 2011
Gary tse [http://community.jboss.org/people/garytse] created the discussion
"Re: Instantiating workflow from EJB deployed as part of .ear : javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory"
To view the discussion, visit: http://community.jboss.org/message/619544#619544
--------------------------------------------------------------
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
[http://community.jboss.org/message/619544#619544]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110804/4216c5d9/attachment.html
More information about the jboss-user
mailing list