Migrating from Spring 2.0 and Hibernate 3.0 to Spring 3.1 and Hibernate 4.1
Muhammad Abdul Arif
Greenhorn
Joined: Feb 04, 2012
Posts: 25
posted
0
Hi All,
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.