Sunay Shah [http://community.jboss.org/people/sunay] created the discussion

"Jbpm4Jsf + CMT Question"

To view the discussion, visit: http://community.jboss.org/message/539929#539929

--------------------------------------------------------------
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
[http://community.jboss.org/message/539929#539929]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to