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 126.96.36.199
Information in this document applies to any platform.
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:
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