My Oracle Support Banner

Replicat Abends With Errror ORA-01400: Cannot Insert NULL Into Table for Not Null Columns When Specifying INSERTALLRECORDS (Doc ID 1994869.1)

Last updated on MARCH 28, 2023

Applies to:

Oracle GoldenGate - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

When using INSERTALLRECORDS the replicat abends with the errors -

2015-03-26 15:12:56  WARNING OGG-00869  OCI Error ORA-01400: cannot insert NULL into ("OWNER"."TEST"."TNAME") (status = 1400), SQL <INSERT INTO "OWNER"."TEST" ("TNO","TDEPT") VALUES (:a0,:a1)>.

2015-03-26 15:12:56  WARNING OGG-01004  Aborted grouped transaction on 'OWNER.TEST', Database error 1400 (OCI Error ORA-01400: cannot insert NULL into ("OWNER"."TEST"."TNAME") (status = 1400), SQL <INSERT INTO "OWNER"."TEST" ("TNO","TDEPT") VALUES (:a0,:a1)>).


The columns giving the erorr are defined as 'NOT NULL'.
The replicat PRM file has the contents -

REPLICAT RTEST
sourcedefs ./dirsql/TEST.sql
userid OWNER@LINK, password PASSWORD
MAP GGS_OWNER.TEST, TARGET OWNER.TEST, INSERTALLRECORDS;






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
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.