OGG 12c DDL Replication, COUNT(*) in TRIGGER body causes ORA-24344 ORA-04098 errors, trigger is invalid and failed re-validation (Doc ID 1984108.1)

Last updated on JANUARY 12, 2017

Applies to:

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

Symptoms

On : 12.1.2.1.0 version, 1 - Oracle DB backend

When attempting to replicate a TRIGGER that contains an asterisk (i.e. COUNT(*) ),
the following errors occur.

ERRORS
-----------------------
OGG-10020 DDL statement succeeded with the following message: Code [24344], ORA-24344: success with compilation error
ORA-24344: success with compilation error SQL CREATE OR REPLACE TRIGGER "<schema>"."<trigger-name>"
ORA-04098: trigger '<schema>.<trigger-name>' is invalid and failed re-validation

Cause

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