Details
Description
Microsoft's JDBC driver supports a connection property "sendStringParametersAsUnicode" (<https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-ver15>). When set to false, RDBDocumentStore would fail as the DATA column indeed requires Unicode.
The fix is to detect the type of the DATA column (similar on how we special-case ID), and use setNString() for these cases.
Attachments
Issue Links
- relates to
-
OAK-8908 RDBBlobStore on SQL Server: bad performance when default collation is of type SQL*
- Open