Migrating from Spring 2.0 and Hibernate 3.0 to Spring 3.1 and Hibernate 4.1
Muhammad Abdul Arif
posted 4 years ago
We are trying to migrate our application which has Spring 2.0 and Hibernate 3 to Spring 3.1 and Hibernate 4.1. I have copied all the required jar files for both Spring 3.1 and Hibernate 4.1. But when i start the server iam getting below exception
Below is the declaration of productUsersMgr in context file
Yes, since Hibernate 3.1 there is no gain or reason to use the HibernateTemplate. Hibernate removed the old boilerplate code that was needed, and is much cleaner. So no need to use the HibernateTemplate.