Skip to content

Commit

Permalink
fix hsqldb unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Mar 8, 2012
1 parent c5ae239 commit 36ec89f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -112,10 +112,10 @@ protected void save(TestExtract obj) {

if (0 == getSqlTemplate().update(updateSql, obj.getVarcharValue(),
obj.getLongVarcharValue(), obj.getTimestampValue(), obj.getDateValue(),
obj.isBitValue() ? "1" : "0", obj.getBigIntValue(), obj.getDecimalValue(),
obj.isBitValue() ? 1 : 0, obj.getBigIntValue(), obj.getDecimalValue(),
obj.getId())) {
getSqlTemplate().update(insertSql, obj.getVarcharValue(), obj.getLongVarcharValue(),
obj.getTimestampValue(), obj.getDateValue(), obj.isBitValue() ? "1" : "0",
obj.getTimestampValue(), obj.getDateValue(), obj.isBitValue() ? 1 : 0,
obj.getBigIntValue(), obj.getDecimalValue(), obj.getId());
}

Expand Down

0 comments on commit 36ec89f

Please sign in to comment.