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 nvarchar 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 54045dd commit 61fd4f6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,9 @@ public String getTypeName(int jdbcType) {
if (ColumnTypeResolutionMode.LEGACY.equals(connectorConfig.getColumnTypeResolutionMode())) {
switch (jdbcType) {
case Types.VARCHAR:
case Types.NVARCHAR:
return getTypeName(Types.LONGVARCHAR);
case Types.NVARCHAR:
return getTypeName(Types.LONGNVARCHAR);
case Types.VARBINARY:
return getTypeName(Types.LONGVARBINARY);
default:
Expand Down

0 comments on commit 61fd4f6

Please sign in to comment.