[jboss-user] [JBoss jBPM] - Re: Exceptions after calling jbpmContext.close - Please Help

sgrassie do-not-reply at jboss.com
Mon Feb 18 03:51:50 EST 2008


I think that you've got two hibernate sessions open for some reason. See the documentation http://docs.jboss.com/jbpm/v3/userguide/persistence.html#injectingthehibernatesession and http://docs.jboss.com/jbpm/v3/userguide/persistence.html#d0e2412 

JbpmContext.close commits the hibernate session to your database. So you do kind of need to close the context in a finally block.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130032#4130032

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130032



More information about the jboss-user mailing list