My Oracle Support Banner

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 AUGUST 30, 2023

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

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.