TMDM-7599: "Query uses operators incompatible with 'text' data type (SQL Server)"

Raise limit for nvarchar to 4000 in custom Hibernate dialect (aligned with database capabilities).
(https://jira.talendforge.org/browse/TMDM-7599)
(cherry picked from commit 6a35f6f)