Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 66151 invoked from network); 4 Dec 2009 21:51:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 21:51:11 -0000 Received: (qmail 93831 invoked by uid 500); 4 Dec 2009 21:51:11 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 93696 invoked by uid 500); 4 Dec 2009 21:51:10 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 93686 invoked by uid 99); 4 Dec 2009 21:51:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 21:51:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.90.63.48] (HELO smtp.m-plify.net) (80.90.63.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 21:51:02 +0000 Received: from freya.localdomain (localhost.localdomain [127.0.0.1]) by smtp.m-plify.net (Postfix) with ESMTP id 9A08D148B1 for ; Fri, 4 Dec 2009 22:50:42 +0100 (CET) Message-ID: <4B198432.4000306@m-plify.net> Date: Fri, 04 Dec 2009 22:50:42 +0100 From: El Tonno User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: dev@commons.apache.org Subject: Commons BeanUtils: RowSetDynaClass.setUseColumnLabel() useless? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, Just a quick question. about Jakarta Commons BeanUtils 1.8.2 (the latest) I have to slurp a ResultSet into a RowSetDynaClass, but I have to use the JDBC column labels instead of the JDBC column names. It seems that the instance method RowSetDynaClass.setUseColumnLabel() is what I want, as its stated purpose is to make a RowSetDynaClass instance use the column labels. However, this instance method is useless. Indeed, the flag saying whether column labels are used is useful at initalization time only, when a RowsSetDynaClass is initialized from a ResultSet, and not later. It seems that the constructors have to take the "useColumnLabel" flag instead - but they don't. Either I don't get the API at all or this is a bug. Is it? I'm off patching the source a bit. Best regards, -- David --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org