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.6Information 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 |