OGG Replicat hits ora-1400 with sqlexec on before record after upgrading from ogg 11g to 12c
Last updated on MARCH 29, 2017
Applies to:Oracle GoldenGate - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
we have following setup:
source: create table s1 (a number primary key, b number);
target: create table t1 (id number not null, a number, b number);
create sequence ss;
map s1, target t1,
sqlexec ( id tt, query 'select ss.NEXTVAL AS P_SEQ from dual',
id = tt.p_seq,
insert into s1 values (1,1);
update s1 set b=2;
when replicating the update, the replicat abended with ora-1400 error, as it cannot insert NULL into ID column.
the same set worked fine in ogg 11g, but abends with ogg 12c.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms