tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

Is `sendStringParametersAsUnicode` connection property being supported?

Open dxps opened this issue 1 year ago • 0 comments

Hi everyone!

We encountered an issue with the default SQL Server behaviour of treating String parameters (part of a prepared statement) being considered as NVARCAR on the executed statement.

And this is due to the connection property named sendStringParametersAsUnicode having the default value of true.

See this issue with the details on the Java implementation and how it was solved.

And this is a similar example, using Tiberius library, which it is still affected by that SQL Server behavior.

Therefore, is sendStringParametersAsUnicode connection property being supported?

I believe not, although it should be easily added.

Thanks!

dxps avatar Oct 30 '24 14:10 dxps