Mar 23rd, 2012, 04:37 PM
Is there a class to replace o.s.o.hibernate3.HibernateTemplate with Hibernate 4?
I've a fair amount of code using Spring's HibernateTemplate. We are migrating from Hibernate 3 to Hibernate 4 and could not find an equivalent implementation for Hibernate 4. Am I looking at the wrong place? If this functionality does not exist maybe someone can suggest an option that would ease the migration.
Mar 24th, 2012, 08:32 AM
No... HibernateTemplate should be considered deprecated since the release of hibernate 3.0.1 (about 2007). You should use plain hibernate daos as explained in the reference guide.