DBZ-7969 Fix more test failures
This commit is contained in:
parent
419f0633ce
commit
b8da6e0acc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user