[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio
do-not-reply at jboss.com
Sat Nov 14 00:59:19 EST 2009
Well, I was not aware that you were using JPA.
You should not be using "hibernate-configuration" in jbpm.cfg.xml file when using SpringConficuration.
If you use JPA then you need to mention the mapping locations in persistance.xml of JPA. Whatever you mentioned in your TODO list, of moving things to persistance.xml should do the work for you.
And also do not create the session factory bean if you are using JPA. That is only valid for hibernate-spring combination.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265650#4265650
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265650
More information about the jboss-user