db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: [jira] Updated: (DERBY-1862) Simple hash improves performance
Date Mon, 18 Sep 2006 16:31:48 GMT
Knut Anders Hatlen wrote:

> Øystein Grøvlen <Oystein.Grovlen@Sun.COM> writes:
>>Andreas Korneliussen (JIRA) wrote:
>>>String.toUpperCase(..) with english locale, should return a string
>>>with the same number of characters, and it should therefore be valid
>>>to do a check of number of characters before doing any conversions.
>>Is it correct to always use English locale in this case?  Ref the
>>reference guide on SQL identifiers:
> And is it correct to upcase the identifiers before comparing them in
> findColumnName()?

I beloive so, based upon this test in the javadoc of ResultSet.

"Column names used as input to getter methods are case insensitive. When
a getter method is called with a column name and several columns have
the same name, the value of the first matching column will be returned."


View raw message