Spring Hibernate Integration Using SessionFactory
Prerequisite Trails Spring Hibernate Dao Support Concept Overview In the previous tutorial we saw how HibernateTemplate can be used in a HibernateSupportDao to perform Hibernate based database operations. However, it is possible to directly obtain a Hibernate session using the getSession() method of the Hibernate SessionFactory. Wire a LocalSessionFactoryBean into the DAO as a SessionFactory … Read more