apply recommendations from code review
This commit is contained in:
parent
645386c999
commit
68b26f7a5e
|
@ -186,7 +186,7 @@ public class JdbcUtils {
|
|||
case Types.BLOB:
|
||||
return new ColumnType(ColumnTypeEnum.BLOB, length);
|
||||
case Types.VARBINARY:
|
||||
if (theConnectionProperties.getDriverType().equals(DriverTypeEnum.MSSQL_2012)) {
|
||||
if (DriverTypeEnum.MSSQL_2012.equals(theConnectionProperties.getDriverType())) {
|
||||
// MS SQLServer seems to be mapping BLOB to VARBINARY under the covers, so we need to reverse that mapping
|
||||
return new ColumnType(ColumnTypeEnum.BLOB, length);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue