My Oracle Support Banner

A java.lang.ClassCastException Occurs When an OracleCallableStatement Is Used with the Universal Connection Pool (UCP) (Doc ID 759103.1)

Last updated on NOVEMBER 09, 2021

Applies to:

JDBC - Version 10.2.0 to 11.1.0.6
Information in this document applies to any platform.

Symptoms

A simple application that uses the Universal Connection Pool (UCP) and an OracleCallableStatement to call a simple PL/SQL procedure fails with a java.lang.ClassCastException.

The simple PL/SQL procedure is:


Sometimes it can happen that following error is reported instead:

java.lang.ClassCastException: oracle_jdbc_driver_T4CCallableStatement_Proxy

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.