org.hibernate.HibernateException: save is not valid without active transaction

This issue had caused me lots of troubles in my projects. Finally I have found out the main reason is that in spring application context within session factory definition you need to remove┬áhibernate.current_session_context_class entry the below is full code Projects tested Spring 3 Hibernate 3 and 4 <!– Hibernate configuration settings –> <bean id=”sessionFactory” class=”org.springframework.orm.hibernate4.LocalSessionFactoryBean”>