Knut Anders Hatlen wrote: > Øystein Grøvlen <[EMAIL PROTECTED]> 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." Dan.
