Inconsistent object types returned by getObject() if they have LOB columns in their select list (Doc ID 1279172.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms


When a select query has both the LOB and RAW columns and no explicit user defined
column type, a call to getObject() on the RAW column to get the select result returned as a type byte[] returns an object of type oracle.sql.RAW instead.

This issue only occurs when LOB prefetch and implicit statement cache are used.

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