Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Sep 18, 2014
1 parent 23dd95e commit ad8dbbb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -80,7 +80,7 @@ public String transform(IDatabasePlatform platform, DataContext context, Transfo
value = reverseMap.get(pkValue);
if (value != null) {
String srcNewValue = data.getSourceValues().get(value);
String srcOldValue = data.getOldSourceValues().get(value);
String srcOldValue = data.getOldSourceValues() != null ? data.getOldSourceValues().get(value) : null;
if (isIgnoreNulls && DataEventType.INSERT.equals(data.getSourceDmlType()) && (StringUtils.trimToNull(srcNewValue) == null)) {
throw new IgnoreRowException();
} else if (DataEventType.UPDATE.equals(data.getSourceDmlType())) {
Expand Down

0 comments on commit ad8dbbb

Please sign in to comment.