Java.sql.SQLException: Invalid Column Type: 2012 In Stored Procedure
(Doc ID 2547594.1)
Last updated on MARCH 05, 2025
Applies to:
JDBC - Version 12.2.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
An application that calls a database stored procedure using 12.2.0.1 ojdbc8.jar fails with the following exception:
java.sql.SQLException: Invalid column type: 2012
at oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:3978) ~[ojdbc8.jar:12.2.0.1.0]
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:140) ~[ojdbc8.jar:12.2.0.1.0]
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:2401) ~[ojdbc8.jar:12.2.0.1.0
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 |
References |