Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
DBZ-7969 Fix more test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros authored and jpechane committed Jun 26, 2024
1 parent dc4ff83 commit 54045dd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 54045dd

Please sign in to comment.