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
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue