HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than NVARCHAR(MAX)
HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than NVARCHAR(MAX)
This commit is contained in:
parent
6ace838d61
commit
c65cb7e850
|
@ -51,6 +51,8 @@ public class SQLServer2005Dialect extends SQLServerDialect {
|
||||||
registerColumnType( Types.BIGINT, "bigint" );
|
registerColumnType( Types.BIGINT, "bigint" );
|
||||||
registerColumnType( Types.BIT, "bit" );
|
registerColumnType( Types.BIT, "bit" );
|
||||||
|
|
||||||
|
// HHH-8435 fix
|
||||||
|
registerColumnType( Types.NCLOB, "nvarchar(MAX)" );
|
||||||
|
|
||||||
registerFunction( "row_number", new NoArgSQLFunction( "row_number", StandardBasicTypes.INTEGER, true ) );
|
registerFunction( "row_number", new NoArgSQLFunction( "row_number", StandardBasicTypes.INTEGER, true ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue