@Test(groups = SMALL) public void testCreatesEmptyOldEntityJsonForInsert() { ReactiveTrigger reactiveTrigger = new ReactiveTrigger(TRIGGER_NAME, TRIGGER_TABLE, INSERT, AFTER, TABLE_COLS); assertEquals(reactiveTrigger.oldJson(), "'{}'"); }
String oldJson() { if (INSERT.equals(triggerEvent)) { return "'{}'"; } else { return generateConcatStatement("OLD", tableColumns); } }
ReactiveTrigger { String oldJson() { if (INSERT.equals(triggerEvent)) { return "'{}'"; } else { return generateConcatStatement("OLD", tableColumns); } } }
ReactiveTrigger { String oldJson() { if (INSERT.equals(triggerEvent)) { return "'{}'"; } else { return generateConcatStatement("OLD", tableColumns); } } ReactiveTrigger(String triggerName, String triggerTable, TriggerEvent triggerEvent, TriggerTime triggerTime,
                    List<String> tableColumns); }
ReactiveTrigger { String oldJson() { if (INSERT.equals(triggerEvent)) { return "'{}'"; } else { return generateConcatStatement("OLD", tableColumns); } } ReactiveTrigger(String triggerName, String triggerTable, TriggerEvent triggerEvent, TriggerTime triggerTime,
                    List<String> tableColumns); String getDropSql(); }
ReactiveTrigger { String oldJson() { if (INSERT.equals(triggerEvent)) { return "'{}'"; } else { return generateConcatStatement("OLD", tableColumns); } } ReactiveTrigger(String triggerName, String triggerTable, TriggerEvent triggerEvent, TriggerTime triggerTime,
                    List<String> tableColumns); String getDropSql();  }