10.2.0.4 JDBC Driver Maps XA Error ORA-24756 'transaction does not exist' to XAER_RMFAIL (-7) Rather Than XAER_NOTA (-4) (Doc ID 876225.1)

Last updated on SEPTEMBER 03, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.

Symptoms

When using the 10.2.0.4 version of the JDBC driver (OCI or thin), when the database (resource manager) returns an ORA-24756 'transaction does not exist' error in an XA transaction, this is observed to map to an XA return code of '-7', or XAER_RMFAIL.

In the 10.2.0.3 version of the JDBC driver when the fix for <Bug 5721063> is not applied, an ORA-24756 error maps to an XA return code of '-4', or XAER_NOTA, which is the correct behavior.

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