Skip to content

Commit

Permalink
0000909: Support GEOMETRY type on MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanes committed Nov 19, 2012
1 parent f82f8b4 commit 89bb7a1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -348,7 +348,7 @@ public Object[] getObjectValues(BinaryEncoding encoding, String[] values,
objectValue = new BigDecimal(value.replace(',', '.'));
} else if (type == Types.BOOLEAN) {
objectValue = value.equals("1") ? Boolean.TRUE : Boolean.FALSE;
} else if (!(column.getJdbcTypeName().toUpperCase()
} else if (!(column.getJdbcTypeName()!=null && column.getJdbcTypeName().toUpperCase()
.contains(TypeMap.GEOMETRY)) &&
(type == Types.BLOB || type == Types.LONGVARBINARY
|| type == Types.BINARY || type == Types.VARBINARY ||
Expand Down

0 comments on commit 89bb7a1

Please sign in to comment.