Hi Isomorphic,
the SQL generated for a ComboBoxItem with TextMatchStyle.SUBSTRING is e.g.
while the javadoc reads "test for case-insenstive substring match".
The generated SQL for Oracle does not include a UPPER()/LOWER() for the comparison, making the search case-sensitive.
Either the JavaDoc or the choose of the Operator is wrong here (I think it's the Operator).
Enhancement: Make it possible for the user to decide if he or she wants the case-sensitive or case-insensitive versions of TextMatchStyle.EXACT, TextMatchStyle.STARTS_WITH and TextMatchStyle.SUBSTRING.
Best regards,
Blama
the SQL generated for a ComboBoxItem with TextMatchStyle.SUBSTRING is e.g.
Code:
t_reseller.name LIKE '%mysearchstring%' ESCAPE '\' AND t_reseller.name IS NOT NULL
The generated SQL for Oracle does not include a UPPER()/LOWER() for the comparison, making the search case-sensitive.
Either the JavaDoc or the choose of the Operator is wrong here (I think it's the Operator).
Enhancement: Make it possible for the user to decide if he or she wants the case-sensitive or case-insensitive versions of TextMatchStyle.EXACT, TextMatchStyle.STARTS_WITH and TextMatchStyle.SUBSTRING.
Best regards,
Blama
Comment