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 and later
Information in this document applies to any platform.


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(
  at oracle.jdbc.driver.T4CTTIoer.processError(
  at oracle.jdbc.driver.T4C8Oall.processError(
  at oracle.jdbc.driver.T4CTTIfun.receive(
  at oracle.jdbc.driver.T4CTTIfun.doRPC(
  at oracle.jdbc.driver.T4C8Oall.doOALL(
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.ja va:1046)
  at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe( 207)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout( 296)
  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedState
  at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatemen


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