WLS error "org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager"

(Doc ID 1205509.1)

Last updated on APRIL 05, 2018

Applies to:

Oracle WebLogic Server - Version 10.0 to 10.3.3
Information in this document applies to any platform.


When using Hibernate inside the WebLogic server, the following exception is thrown -

org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:338)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1304)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:854)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms