apply recommendations from code review

This commit is contained in:
Jason Roberts 2021-09-21 12:28:15 -04:00
parent 645386c999
commit 68b26f7a5e
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class JdbcUtils {
case Types.BLOB: case Types.BLOB:
return new ColumnType(ColumnTypeEnum.BLOB, length); return new ColumnType(ColumnTypeEnum.BLOB, length);
case Types.VARBINARY: 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 // 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); return new ColumnType(ColumnTypeEnum.BLOB, length);
} else { } else {