Hibernate Session flush behaviour [ and Spring @Transactional ]
- by EugeneP
I use Spring and Hibernate in a web-app,
SessionFactory is injected into a DAO bean, and then this DAO is used in a Servlet through webservicecontext.
DAO methods are transactional, inside one of the methods I use ... getCurrentSession().save(myObject);
One servlet calls this method with an object passed.
The update seems to not be flushed…