EJB with transaction attribute 'SUPPORTS' no longer works after upgrade from WLS 8.1 (Doc ID 1286718.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 to 10.3.5
Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Information in this document applies to any platform.

Symptoms

After upgrading EJB from Weblogic 8.1 (WLS) to 10.3.x, the transaction attribute of SUPPORTS no longer works.  Since Hibernate is used, the following exception is thrown:

org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

There is no change in the EJB, packaging, or Hibernate version.

Cause

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