HibernateDaoSupport is deprecated in spring 3 but present in spring 4
posted 2 weeks ago
While using gethibernateTemplate() I observed this is deprecated as per spring-orm version 3(as SessionFactory.getCurrentSession() was not present) but not deprecated as per spring-orm version 4. I have couple of question :
1. Is it suggested to use if we choose version 4?
2. If not then what is the ideal way to implement these functionality getHibernateTemplate ().save/update/find?