Hi all,
In my project there is a dofilter() method used in HibernateSessionFilter class. In too many classes the Hibernate currentSession() and beginTransaction() methods were called but session objects were not closed
As i know A filter is an object that performs filtering tasks on either the request to a resource (a
servlet or static content), or on the response from a resource, or both.
The doFilter() also calls createSession() and closeSession()
So will it be necessary to close the session objects in those all classes or the filtering process will close the session automatically as it uses closeSession().
Please reply soon if anyone knows abt this....Thans in Advance