Skip to content

Commit

Permalink
Fix SQLite unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichalek committed Sep 21, 2016
1 parent 123a57b commit 237d97c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions symmetric-db/src/main/java/org/jumpmind/db/sql/Row.java
Expand Up @@ -189,6 +189,8 @@ public BigDecimal getBigDecimal(String columnName) {
return (BigDecimal) obj;
} else if (obj instanceof String) {
return new BigDecimal(obj.toString());
} else if (obj instanceof Integer) {
return new BigDecimal(((Integer)obj).intValue());
} else {
checkForColumn(columnName);
return null;
Expand Down

0 comments on commit 237d97c

Please sign in to comment.