Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB0EE10AA3 for ; Fri, 2 Jan 2015 18:50:33 +0000 (UTC) Received: (qmail 73578 invoked by uid 500); 2 Jan 2015 18:50:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 73471 invoked by uid 500); 2 Jan 2015 18:50:34 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 73460 invoked by uid 99); 2 Jan 2015 18:50:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2015 18:50:34 +0000 Date: Fri, 2 Jan 2015 18:50:34 +0000 (UTC) From: "Carl Hall (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DBUTILS-121) Allow influencing the setter method used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DBUTILS-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263120#comment-14263120 ] Carl Hall commented on DBUTILS-121: ----------------------------------- Committed with revision r1649089 > Allow influencing the setter method used > ---------------------------------------- > > Key: DBUTILS-121 > URL: https://issues.apache.org/jira/browse/DBUTILS-121 > Project: Commons DbUtils > Issue Type: Improvement > Affects Versions: 1.6 > Reporter: Carl Hall > Assignee: Carl Hall > Fix For: 1.7 > > Attachments: dbutils-121.patch > > > I have cases where the field in a bean doesn't quite match the column it is stored as. e.g. {{Timestamp}} in the database but {{org.joda.DateTime}} in the bean. It would be nice to allow the bean processor to have influence over which setter method is used, so that a setter can take a parameter that's the type of the database column but convert it to the internally stored type. -- This message was sent by Atlassian JIRA (v6.3.4#6332)