Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 97847 invoked from network); 18 Sep 2006 16:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 16:32:20 -0000 Received: (qmail 47661 invoked by uid 500); 18 Sep 2006 16:32:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 47632 invoked by uid 500); 18 Sep 2006 16:32:19 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 47607 invoked by uid 99); 18 Sep 2006 16:32:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 09:32:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.154] (HELO e36.co.us.ibm.com) (32.97.110.154) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 09:32:13 -0700 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e36.co.us.ibm.com (8.13.8/8.12.11) with ESMTP id k8IGVq0k005596 for ; Mon, 18 Sep 2006 12:31:52 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k8IGVpxY081702 for ; Mon, 18 Sep 2006 10:31:52 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k8IGVpjK032757 for ; Mon, 18 Sep 2006 10:31:51 -0600 Received: from [127.0.0.1] (DMCSDJDT41P.usca.ibm.com [9.72.133.92]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k8IGVok2032698 for ; Mon, 18 Sep 2006 10:31:51 -0600 Message-ID: <450EC9F4.4050007@apache.org> Date: Mon, 18 Sep 2006 09:31:48 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Updated: (DERBY-1862) Simple hash improves performance References: <15758740.1158581063178.JavaMail.jira@brutus> <450E9F20.2090304@sun.com> In-Reply-To: X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Knut Anders Hatlen wrote: > �ystein Gr�vlen 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.