[jboss-user] [JBoss jBPM] - Re: Unable to close jbpmContext - help !

anuragpaliwal do-not-reply at jboss.com
Mon Jan 28 06:24:27 EST 2008


Hi Francesco

Recomended way of using jbpmContext  is to put it inside try{}finally{} block.

try{

//Do Stuff

}finally{

//Close context
}

I gues you donot need to demarcate transaction boundry here.  jbpmContext.close()  would commit and close the session as well.

Shout if it doesn't work

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

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



More information about the jboss-user mailing list