My Oracle Support Banner

Selecting CLOB Across 21c Database Link Fails With "Clob Is Too Large to Be Stored in a Java String" (Doc ID 2907406.1)

Last updated on NOVEMBER 07, 2022

Applies to:

JDBC - Version 12.1.0.2.0 and later
Oracle Database - Enterprise Edition - Version 21.1 and later
Information in this document applies to any platform.

Symptoms

Given the following environment:

Executing a SQL SELECT statement that includes a LOB datatype across this dblink fails with the following exception:


Multiple conditions are necessary for the problem to reproduce.  If any of the following conditions are removed, then the problem no longer reproduces:

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.