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 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
