manywho / service-sql

A service that allows your Flows to read from and write to an external database
MIT License
0 stars 3 forks source link

FLOW-2880: Allow searching on SQL Server unicode columns #90

Closed ianhaycox closed 3 years ago

ianhaycox commented 3 years ago

The problem was because the schema on the flowconnect database used columns with the data type NCHAR and these were not considered as suitable candidates for searching. It only searched,

To fix the problem I’ve added support for NCHAR and CHAR

The change consists of just a couple of lines in src/main/java/com/manywho/services/sql/services/filter/QueryFilterConditions.java

The remaining changes are searching tests for MySQL, Postgres and SQl Server