Select LOB Data Via Database Link (DBLink) Fails With ORA-24920 (Doc ID 2073635.1)

Last updated on MAY 19, 2017

Applies to:

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

Symptoms


When selecting a LOB value via a database link (DBLink) in database 12c,  JDBC Thin driver returns the following error on the application:


java.sql.SQLException: ORA-24920: column size too large for client
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:951)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:513)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.ja va:1046)
  at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1 207)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1 296)
  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedState ment.java:3613)
  at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatemen t.java:3657)
  ...



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