Skip to content

Commit

Permalink
0005347: Fixed where clauses for PostGIS geometry type
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Aug 2, 2022
1 parent 5ff8830 commit 9b9b76a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -139,7 +139,7 @@ protected void appendColumnEquals(StringBuilder sql, Column column) {
.append(" = cast(? as ").append(typeToCast).append(")");
} else if (column.getJdbcTypeName() != null && (column.getJdbcTypeName().toUpperCase().contains(TypeMap.GEOMETRY) ||
column.getJdbcTypeName().toUpperCase().contains(TypeMap.GEOGRAPHY))) {
sql.append(" = ST_GEOMFROMTEXT(?)");
sql.append(quote).append(column.getName()).append(quote).append(" = ST_GEOMFROMTEXT(?)");
} else {
super.appendColumnEquals(sql, column);
}
Expand Down

0 comments on commit 9b9b76a

Please sign in to comment.