[ 
https://issues.apache.org/jira/browse/OAK-8915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nitin Gupta closed OAK-8915.
----------------------------

> RDBDocumentStore: use setNString() for columns known to be of type N*CHAR
> -------------------------------------------------------------------------
>
>                 Key: OAK-8915
>                 URL: https://issues.apache.org/jira/browse/OAK-8915
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: rdbmk
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_oak_1_10
>             Fix For: 1.26.0, 1.22.2
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to