My Oracle Support Banner

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.

Goal

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)

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.