My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

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

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
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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