Community

Jbpm4Jsf + CMT Question

created by Sunay Shah in jBPM - View the full discussion

Hello All,

 

I am using jbpm 3.2 , i am using Container managed Transaction . now i gone through the source code  jbpm4jsf  in DeleteActionListener class i found that at the end of handleAction(..) mehod it explicitly flushing the hibernate session with

   context.getJbpmContext().getSession().flush();

what is the need of this statement , if we are already using container managed transaction another thing i want to ask is in ProcessFilePhaseListener class i found the finally block in which it is explicitly closes the jbpmContext with

jbpmContext.close();

what is the need of it if we are using Containter managed Transaction

 

 

Thanks

Sunay

Reply to this message by going to Community

Start a new discussion in jBPM at Community