Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 45541 invoked from network); 3 Jun 2005 06:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jun 2005 06:20:57 -0000 Received: (qmail 56822 invoked by uid 500); 3 Jun 2005 06:20:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 56706 invoked by uid 500); 3 Jun 2005 06:20:53 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 56680 invoked by uid 99); 3 Jun 2005 06:20:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 23:20:50 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 04A0A187 for ; Fri, 3 Jun 2005 07:59:24 +0200 (CEST) Message-ID: <605928587.1117778364017.JavaMail.jira@ajax.apache.org> Date: Fri, 3 Jun 2005 07:59:24 +0200 (CEST) From: "Shreyas Kaushik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-229) Column names on ResultSet.updateXXX and getXXX methods are handled incorrectly In-Reply-To: <874621224.1113880005036.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-229?page=all ] Shreyas Kaushik closed DERBY-229: --------------------------------- Closing this issue as it was patched > Column names on ResultSet.updateXXX and getXXX methods are handled incorrectly > ------------------------------------------------------------------------------ > > Key: DERBY-229 > URL: http://issues.apache.org/jira/browse/DERBY-229 > Project: Derby > Type: Bug > Components: JDBC > Versions: 10.0.2.1, 10.1.0.0 > Reporter: Daniel John Debrunner > Assignee: Shreyas Kaushik > Fix For: 10.1.0.0 > Attachments: x.java > > Sections 14.2.3 and [14.2.3] of JDBC 3.0 spec say > Column names supplied to getter [updater] methods are case insensitive. If a select list > contains the same column more than once, the first instance of the column will be > returned [updated]. > Derby returns or updates the last column in the select list, not the first. With the attached Java class I see > PRE-UPDATE > 1,100 > POST-UPDATE > 1,500 > POST-UPDATE getXXX(name) > AB:500,ab500 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira