My Oracle Support Banner

Java.sql.SQLException: Invalid Column Type: 2012 In Stored Procedure (Doc ID 2547594.1)

Last updated on NOVEMBER 09, 2021

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information 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


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