[jboss-user] [jBPM] New message: "Re: JBpm 4.3 + Spring 3 transaction problem at buildProcessEngine"

Tom Meier do-not-reply at jboss.com
Sat Jan 30 06:05:45 EST 2010


User development,

A new message was posted in the thread "JBpm 4.3 + Spring 3 transaction problem at buildProcessEngine":

http://community.jboss.org/message/523111#523111

Author  : Tom Meier
Profile : http://community.jboss.org/people/tom42332

Message:
--------------------------------------------------------------
> The *hibernate.current_session_context_class* property
> should be SpringSessionContext class. This is done automatically in
> LocalSessionFactoryBean. So you need not do anything extra.
I didn't know that but it makes sense. And it works 
What strikes me though is the fact that in the configuration files that are shipped with the jbpm4.3 distribution all have +current_session_context_class+ set to +thread+ including the spring-hibernate configuration file.
 
Anyway, thanks a lot for your help - saved me a lot of time!
 
Tom

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523111#523111




More information about the jboss-user mailing list