My Oracle Support Banner

ORA-01461 With MERGE INTO Statement And Clob Column (Doc ID 1620109.1)

Last updated on AUGUST 09, 2023

Applies to:

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

Symptoms

JDBC 11.2.0.3 and 12.1.0.1

ORA-1461 error occurs when executing merge statements with a NCLOB column as a target and a bind variable value which is longer than 4000 bytes:

 
Only if String length > 4000 bytes.

If instead of MERGE a separate statement is used for INSERT or UPDATE (based on situation) then the error is not reported.

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.