[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

vtysh do-not-reply at jboss.com
Wed Aug 1 04:11:03 EDT 2007


I think you get this exception, because you do so
transaction.commit();

If you got this transaction from jbpmContext session you've done wrong. If you need rollback transaction just use jbpmContext.setRollbackOnly() method and transaction will be rolled back on close() method.

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

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



More information about the jboss-user mailing list