I'm new to Spring and sort of with Hibernate. I'm migrating from using Hibernate standalone to integration with Spring and was told it was going to be able to close sessions with minimal configuration.
I'm not sure where to close the session and how I should configure it to close the sessions.
As we speak I have a DAO that extends HibernateDaoSupport. By printing Stats of the Session Factory it shows that no sessions are closed.
What are you using from Spring? HibernateDaoSupport or HibernateTemplate directly? Please include a snippet of your Spring config for the Hibernate related components. Also I would recommend reading Spring Data Access using O/R Mappers if you haven't already.