|Subject||Re: [Firebird-Java] Jaybird 2.1.3 released|
> So it was more complicated than that small fix.Yep. :) But your fix would perfectly work in your particular case.
BTW, the current implementation does not cover all possible situations
when more than one pattern is available via API, only two extremes:
a) when a correct case is used - one query is executed;
b) when somebody passes low-case/camelCased identifiers instead of
UPPERCASED - that will cause two queries executed.
Latter is the most common situation and must be handled for the backward
Current fix does not cover cases where one pattern is correct case and
one - not uppercased. In this case no match will happen. But at the
moment it looks like a reasonable trade off.