Issue
HHH-3965
partly resolved this issue for non-nationalized characters by mapping CLOB to VARCHAR(MAX); however under the {SQLServer2008Dialect}
which extends {SQLServer2005Dialect}
, using the @Lob and @Nationalized annotations results in mapping to a NCLOB data type which doesn't exist for SQL Server.
Proposal is to modify the SQL Server dialect so that NCLOB represents a NVARCHAR(MAX) data type.
|