diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java index f86b922667..c96a3eac9b 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java @@ -50,7 +50,9 @@ public class SQLServer2005Dialect extends SQLServerDialect { registerColumnType( Types.BIGINT, "bigint" ); registerColumnType( Types.BIT, "bit" ); - + + // HHH-8435 fix + registerColumnType( Types.NCLOB, "nvarchar(MAX)" ); registerFunction( "row_number", new NoArgSQLFunction( "row_number", StandardBasicTypes.INTEGER, true ) ); }