Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug in TextMatchStyle.SUBSTRING, Enhancement suggestion for TextMatchStyle

$
0
0
Hi Isomorphic,

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
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

Viewing all articles
Browse latest Browse all 4756

Trending Articles