How to integrate Spring and Hibernate using HibernateDaoSupport?
Answered
How to integrate Spring and Hibernate using HibernateDaoSupport?
Best answer
Spring and Hibernate can integrate using Spring’s SessionFactory called LocalSessionFactory. The integration process is of 3 steps.
- Configure the Hibernate SessionFactory
- Extend your DAO Implementation from HibernateDaoSupport
- Wire in Transaction Support with AOP