My Oracle Support Banner

ORA-24816 When Updating A CLOB Column (Doc ID 2056682.1)

Last updated on AUGUST 30, 2023

Applies to:

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

Symptoms

Getting ORA-24816 Expanded non LONG bind data supplied after actual LONG or LOB column when updating a CLOB column with JDBC 11.2.0.3. The failing SQL looks like this:


The column data types are:

                <COLUMN4> NUMBER
                <COLUMN1> NUMBER
                <COLUMN2> VARCHAR2(4000)
                <COLUMN3_CLOB> CLOB

               

ERROR
----------
java.sql.SQLException: ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column

  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
  at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:754)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:219)
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:972)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1192)
  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3415)
  at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3460)



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.