Skip to content

Commit

Permalink
0001922: Incorrect conversion of values of type BIT in SQL Server 200…
Browse files Browse the repository at this point in the history
…5 to SQLite
  • Loading branch information
chenson42 committed Aug 20, 2014
1 parent 3dd341f commit ad5442c
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -392,9 +392,8 @@ protected Object getObjectValue(String value, Column column, BinaryEncoding enco
}
} else if (type == Types.BIGINT) {
objectValue = parseBigInteger(value);
} else if (type == Types.INTEGER || type == Types.SMALLINT) {
objectValue = parseInteger(value);
} else if (type == Types.BIT) {
} else if (type == Types.INTEGER || type == Types.SMALLINT ||
type == Types.BIT) {
if (StringUtils.isNumeric(value)) {
objectValue = parseInteger(value);
} else {
Expand Down

0 comments on commit ad5442c

Please sign in to comment.