Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 28157 invoked from network); 13 Jul 2007 14:51:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jul 2007 14:51:28 -0000 Received: (qmail 91073 invoked by uid 500); 13 Jul 2007 14:51:28 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 91057 invoked by uid 500); 13 Jul 2007 14:51:28 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 91046 invoked by uid 99); 13 Jul 2007 14:51:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 07:51:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 07:51:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F2ECD714212 for ; Fri, 13 Jul 2007 07:51:04 -0700 (PDT) Message-ID: <4607325.1184338264991.JavaMail.jira@brutus> Date: Fri, 13 Jul 2007 07:51:04 -0700 (PDT) From: "Niall Pemberton (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (BEANUTILS-289) JDBCDynaClass "lowerCase" option causes problems in RowSetDynaClass In-Reply-To: <11999906.1184336705322.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BEANUTILS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated BEANUTILS-289: -------------------------------------- Attachment: beanutils-289.patch > JDBCDynaClass "lowerCase" option causes problems in RowSetDynaClass > ------------------------------------------------------------------- > > Key: BEANUTILS-289 > URL: https://issues.apache.org/jira/browse/BEANUTILS-289 > Project: Commons BeanUtils > Issue Type: Bug > Components: DynaBean > Affects Versions: 1.7.0 > Reporter: Niall Pemberton > Fix For: 1.8.0 > > Attachments: beanutils-289.patch > > > JDBCDynaClass / RowSetDynaClass has an option to convert the column names to lower case when creating the associated DynaProperty - this causea a problem in RowSetDynaClass's rows() method which uses the DynaProperty name to access the column value in the ResultSet. I can only think no-one is really using this since its been this way since created (over 4 years ago) - otherwise everyone is using lower case column names in the database anyway! > The proxy TestResultSet and TestResultSetMetaData implementations used by DynaRowSetTestCase are hacked by using normal case in the meta data - but lower case in the result set. > Since the DynaProperties are created in column index order - I suggest changing rows() to use the column index, rather than DynaProperty name. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org