DBZ-7969 Fix more test failures

This commit is contained in:
Chris Cranford 2024-06-25 13:33:01 -04:00 committed by Jiri Pechanec
parent 419f0633ce
commit b8da6e0acc

View File

@ -516,6 +516,8 @@ public String getTypeName(int jdbcType) {
case Types.VARCHAR:
case Types.NVARCHAR:
return getTypeName(Types.LONGVARCHAR);
case Types.VARBINARY:
return getTypeName(Types.LONGVARBINARY);
default:
return ddlTypeRegistry.getTypeName(jdbcType, dialect);
}
@ -526,6 +528,8 @@ public String getTypeName(int jdbcType) {
return getTypeName(jdbcType, dialect.getMaxVarcharLength());
case Types.NVARCHAR:
return getTypeName(jdbcType, dialect.getMaxNVarcharLength());
case Types.VARBINARY:
return getTypeName(jdbcType, dialect.getMaxVarbinaryLength());
default:
return ddlTypeRegistry.getTypeName(jdbcType, dialect);
}