I am developing Spring MVC Hibernate
Integration example. In this example I\'m using Spring 4.1.9.RELEASE
and Hibernate 5.1.0.Final
. If I
Changing the below import from hibernate4 to hibernate5 in hibenate configuaration file worked for me,
import org.springframework.orm.hibernate4.HibernateTransactionManager;
import org.springframework.orm.hibernate4.LocalSessionFactoryBean;
to this
import org.springframework.orm.hibernate5.HibernateTransactionManager;
import org.springframework.orm.hibernate5.LocalSessionFactoryBean;