Can XA and Universal Connection Pool Be used With getConnection vs getXaConnection and Avoid Exception "java.sql.SQLException: The method is disabled" ? (Doc ID 1353144.1)

Last updated on MARCH 08, 2017

Applies to:

Universal Connection Pool - Version 11.1.0.7.0 and later
JDBC - Version 11.1.0.7 and later
Information in this document applies to any platform.

Goal

When using the Universal Connection Pool (UCP) with XA transactions, the exception 'java.sql.SQLException: The method is disabled' is thrown when calling the method getConnection on the PoolXADataSourceImpl.
Does that mean that the UCP is incompatible with open source technologies that only call getConnection and not getXAConnection?

Solution

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