Pinned topicHibernate3.2 JTA EJB3 WAS7 : Current transaction is not in progress

‏2012-09-28T00:38:48Z
|Tags:

Answered question
This question has been answered.

Unanswered question
This question has not been answered yet.

Hi All,

After Migrating an Application J2EE from JDK 1.4 to JDK6, WAS6.1 to WAS7, EJB2 to EJB3 (Ejb session: persistence with Hibernate3.2 : No JPA); An Error is blocking transaction to an DB Oracle (We use JTA).

Error traced : "Current transaction is not in progress".

This error is occured when we tray to instanciate/recupere current session hibernate from SessionFactory:
sessionFactory.getCurrentSession();Extract of file config Hibernate.cfg.xml:

After Migrating an Application J2EE from JDK 1.4 to JDK6, WAS6.1 to WAS7, EJB2 to EJB3 (Ejb session: persistence with Hibernate3.2 : No JPA); An Error is blocking transaction to an DB Oracle (We use JTA).