Hi
I am trying to use Hibernate+Spring in my application but stuck into following error:
java.lang.ClassNotFoundException: org.springframework.orm.hibernate.HibernateTransactionManager
Tired of googling, could any stackoverflower tell me which JAR contains the above class?
EDIT
An important thing that I did not notice was that Spring has different packages for different versions of Hibernate. For Hibernate V3 (which I am using), the appropriate HibernateTransactionManager class would be
org.springframework.orm.hibernate3.HibernateTransactionManager
instead of
org.springframework.orm.hibernate.HibernateTransactionManager
.
The JAR containing this (hibernate3) class, as I have discovered is spring-hibernate3.jar
. Thank you for your replies :)