Skip to content

Commit

Permalink
add TODO for purge events
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Oct 15, 2007
1 parent ad841ea commit 54d5211
Showing 1 changed file with 5 additions and 4 deletions.
Expand Up @@ -84,10 +84,11 @@ public String createInitalLoadSql(Node node, IDbDialect dialect,
}

public String createPurgeSql(Node node, IDbDialect dialect, Trigger trig) {
String sql = "delete from " + trig.getDefaultTargetTableName() + " where "
+ trig.getInitialLoadSelect();
sql = replace("groupId", node.getNodeGroupId(), sql);
sql = replace("externalId", node.getExternalId(), sql);
// TODO: during reload, purge table using initial_load_select clause
String sql = "delete from " + trig.getDefaultTargetTableName();
//+ " where " + trig.getInitialLoadSelect();
//sql = replace("groupId", node.getNodeGroupId(), sql);
//sql = replace("externalId", node.getExternalId(), sql);
return sql;
}

Expand Down

0 comments on commit 54d5211

Please sign in to comment.