Invalid Column Type: GetCharacterStream Not Implemented For Class When Using resultSet.getCharacterStream (Doc ID 2241457.1)

Last updated on MARCH 13, 2017

Applies to:

JDBC - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

Oracle JDBC driver does not allow numeric expressions to be retrieved using the resultSet.getCharacterStream.
The errors might be:

Invalid column type: getCharacterStream not implemented for class oracle.jdbc.driver.T4CNumberAccessor
Invalid column type: getCharacterStream not implemented for class oracle.jdbc.driver.T4CBinaryDouble

depending on the data type of the column or expression being retrieved.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms