My Oracle Support Banner

Connection Labelling Cannot Be Used With PoolXADataSource from Universal Connection Pool Resulting in Null Connection (Doc ID 1573094.1)

Last updated on AUGUST 03, 2016

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


With version of the Thin JDBC driver, using PoolXADataSource from Universal Connection Pool returns NULL connection when ConnectionLabellingCallback is called.
A database connection should be returned when using PoolXADataSource.

To check if you are seeing this problem, you can try running the following standalone Java program:


If you are seeing the problem, then the output from the program will look like:

[oracle]$ java -cp .:ojdbc6.jar:ucp.jar LabelTest
using dataSource
'configure' called
  connection: $Proxy0@4036afc5

using xaDataSource
'configure' called
  connection: null

The connection for XADataSource is NULL. This is incorrect behaviour.


To view full details, 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 a vibrant support community of peers and Oracle experts.