[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti
vtysh
do-not-reply at jboss.com
Wed Aug 1 05:22:08 EDT 2007
Remove all manual actions with transactions and sessions
Session hsession = jbpmContext.getSessionFactory().openSession();
| Transaction transaction = hsession.beginTransaction();
transaction.rollback();
hsession.close();
If you need to save some hibernate object use session from this method
jbpmContext.getSession()
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069542#4069542
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069542
More information about the jboss-user
mailing list