Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 89214 invoked from network); 18 Feb 2004 21:43:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Feb 2004 21:43:39 -0000 Received: (qmail 87921 invoked by uid 500); 18 Feb 2004 21:43:05 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 87864 invoked by uid 500); 18 Feb 2004 21:43:05 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 87778 invoked from network); 18 Feb 2004 21:43:04 -0000 Received: from unknown (HELO pmesmtp02.mci.com) (199.249.20.2) by daedalus.apache.org with SMTP; 18 Feb 2004 21:43:04 -0000 Received: from dgismtp02.wcomnet.com ([166.38.58.142]) by firewall.wcom.com (Iplanet MTA 5.2) with ESMTP id <0HTA00D9PUZXM7@firewall.wcom.com> for commons-user@jakarta.apache.org; Wed, 18 Feb 2004 21:43:09 +0000 (GMT) Received: from dgismtp02.wcomnet.com by dgismtp02.mcilink.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HTA00A01UZW6M@dgismtp02.mcilink.com> for commons-user@jakarta.apache.org; Wed, 18 Feb 2004 21:43:09 +0000 (GMT) Received: from mci.com ([63.101.102.153]) by dgismtp02.mcilink.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HTA00A3YUZV14@dgismtp02.mcilink.com> for commons-user@jakarta.apache.org; Wed, 18 Feb 2004 21:43:08 +0000 (GMT) Date: Wed, 18 Feb 2004 13:43:07 -0800 From: Bill Culp Subject: DbUtils bean mapper To: Jakarta Commons Users List Message-id: <4033DC6B.4050102@mci.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have been using DbUtils for some JDBC stuff and I was interested in the toBean() bean mapper to map the resultset. Since I am using the bean mapper in a very simplistic fashion, I decided to extend the bean mapping to make it bidirectional (map bean to statement parms) as well. I also overloaded the ResultSetHandler to accept a BeanMap object with prebuilt PropertyDescriptors rather than use introspection. I load the props from an XML file at startup. Is there any interest in making bean mapper bidrectional? - Thanks, Bill Culp --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org