Skip to content

Commit

Permalink
0004063: SQL Server table creation for varbinary(max)
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmind-josh committed Aug 7, 2019
1 parent 287288d commit da1e5bc
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -193,6 +193,8 @@ protected Integer mapUnknownJdbcTypeForColumn(Map<String, Object> values) {
return Types.TIMESTAMP;
} else if (typeName.equalsIgnoreCase("DATE")) {
return Types.DATE;
} else if (typeName.equalsIgnoreCase("VARBINARY") && size > 8000) {
return Types.BLOB;
}
}
return super.mapUnknownJdbcTypeForColumn(values);
Expand Down

0 comments on commit da1e5bc

Please sign in to comment.