[jboss-user] [JBoss jBPM] - Re: Using JbpmContext.save(processInstance), the TaskInstall

liuyan520 do-not-reply at jboss.com
Wed Aug 30 00:03:06 EDT 2006


Hi kukeltje,


The JbpmTemplate which gets from Spring Module responsible for closing the context,so it's not expressed in my code snippet.

Now i extend the OpenSessionInView filter which gets form the Spring framework,overridding the closeSession method which flush the session each time the request completed.And this sovled the problem.

But since we can't depend on non-transactional behaviour,can you give me a better solution.

BTW:I don't know why can't flush the session in the HibernateTemplate.  

Best Wishes
Lucas



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

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



More information about the jboss-user mailing list