Skip to content

Commit

Permalink
add Types.BINARY
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Dec 9, 2007
1 parent b5f0245 commit f81f3f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -195,7 +195,7 @@ private Object[] filterValues(Column[] metaData, String[] values, BinaryEncoding
objectValue = Integer.valueOf(value);
} else if (type == Types.NUMERIC || type == Types.DECIMAL) {
objectValue = new BigDecimal(value);
} else if (type == Types.BLOB || type == Types.LONGVARBINARY) {
} else if (type == Types.BLOB || type == Types.LONGVARBINARY || type == Types.BINARY) {
if (encoding == BinaryEncoding.NONE) {
objectValue = value.getBytes();
} else if (encoding == BinaryEncoding.BASE64) {
Expand Down

0 comments on commit f81f3f3

Please sign in to comment.