Skip to content

Commit

Permalink
0000942: Add a router type of 'audit' that captures changes in an dyn…
Browse files Browse the repository at this point in the history
…amically created audit table.
  • Loading branch information
chenson42 committed Dec 6, 2012
1 parent 9a4aef0 commit ef01674
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -72,7 +72,7 @@ public Set<String> routeToNodes(SimpleRouterContext context, DataMetaData dataMe
context.put(auditTableName, sequence);
values.put(COLUMN_AUDIT_ID, sequence);
values.put(COLUMN_AUDIT_TIME, new Date());
values.put(COLUMN_AUDIT_EVENT, dataMetaData.getData().getDataEventType().getCode());
values.put(COLUMN_AUDIT_EVENT, eventType.getCode());
DmlStatement statement = platform.createDmlStatement(DmlType.INSERT, auditTable);
int[] types = statement.getTypes();
Object[] args = statement.getValueArray(values);
Expand Down

0 comments on commit ef01674

Please sign in to comment.