0 Replies Latest reply on Apr 28, 2010 2:08 AM by sunay

    Jbpm4Jsf + CMT Question

    sunay

      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