Skip to content

Commit

Permalink
0005961: SQL Anywhere long varbit values are inconsistent between change
Browse files Browse the repository at this point in the history
data capture and initial load
  • Loading branch information
Philip Marzullo committed Aug 21, 2023
1 parent bcd54e8 commit 91c908e
Showing 1 changed file with 12 additions and 0 deletions.
Expand Up @@ -27,6 +27,7 @@
import org.jumpmind.db.model.Column;
import org.jumpmind.db.model.ColumnTypes;
import org.jumpmind.db.model.Table;
import org.jumpmind.db.model.TypeMap;
import org.jumpmind.symmetric.db.AbstractTriggerTemplate;
import org.jumpmind.symmetric.db.ISymmetricDialect;
import org.jumpmind.symmetric.io.data.DataEventType;
Expand Down Expand Up @@ -288,4 +289,15 @@ protected String buildKeyVariablesDeclare(Column[] columns, String prefix) {
protected String appendSemicolonAfterDeclare() {
return "";
}

@Override
protected boolean useTriggerTemplateForColumnTemplatesDuringInitialLoad(Column column) {
boolean result = super.useTriggerTemplateForColumnTemplatesDuringInitialLoad(column);
if (column != null) {
if (column.getJdbcTypeName() != null && column.getJdbcTypeName().toUpperCase().contains(TypeMap.VARBIT)) {
result = true;
}
}
return result;
}
}

0 comments on commit 91c908e

Please sign in to comment.