Class InsertParserListener

  • All Implemented Interfaces:
    PlSqlParserListener, org.antlr.v4.runtime.tree.ParseTreeListener

    public class InsertParserListener
    extends BaseDmlParserListener<Integer>
    This class parses Oracle INSERT statements. if the original tested query was: insert into DEBEZIUM (id,col3) values (2, 'some text') LogMiner will supply: insert into "DEBEZIUM"("ID","COL1","COL2","COL3","COL4","COL5","COL6","COL7","COL8","COL9","COL10") values (2,NULL,'debezium','some text',NULL,NULL,NULL,NULL,NULL,EMPTY_BLOB(),EMPTY_CLOB()) update "DEBEZIUM" set "COL9" = NULL, "COL10" = NULL where "ID" = 2 and "COL1" IS NULL and "COL2" = 'debezium' and "COL3" = 'some text' and "COL4" IS NULL and "COL5" IS NULL and "COL6" IS NULL and "COL7" IS NULL and "COL8" IS NULL