Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 68958 invoked from network); 25 Mar 2007 12:15:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2007 12:15:54 -0000 Received: (qmail 93071 invoked by uid 500); 25 Mar 2007 12:15:59 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 93057 invoked by uid 500); 25 Mar 2007 12:15:58 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 93046 invoked by uid 99); 25 Mar 2007 12:15:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 05:15:58 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=MSGID_MULTIPLE_AT X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.125.145.37] (HELO mercury.propylon.com) (194.125.145.37) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 05:15:50 -0700 Received: from propylon-sdsl.sdsl.esat.net ([193.120.101.26] helo=damienmc) by mercury.propylon.com with esmtp (Exim 4.50) id 1HVRbI-00087K-1V for user-java@ibatis.apache.org; Sun, 25 Mar 2007 13:13:37 +0100 From: "Damien McCarthy" To: References: In-Reply-To: Date: Sun, 25 Mar 2007 13:15:26 +0100 Message-ID: <001e01c76ed7$45be1e60$d13a5b20$@mccarthy@propylon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcdtgZMhkrrYmLF+RvSVeXh8YuRssQBVYO6A Content-Language: en-ie X-SA-Exim-Connect-IP: 193.120.101.26 X-SA-Exim-Mail-From: damien.mccarthy@propylon.com Subject: RE: DAO update with partial model objects X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on mercury.propylon.com X-Spam-Level: X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on mercury.propylon.com) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=failed version=3.0.3 Mark, Not using the standard implementation, as there may be times when a user would wish to set a column to null. D. -----Original Message----- From: Mark Volkmann [mailto:mark@ociweb.com] Sent: 23 March 2007 19:31 To: user-java@ibatis.apache.org Subject: DAO update with partial model objects I'm using Spring DAOs generated by Abator. Is it the case that I can pass a partially populated model object to a Spring DAO update method and it will only update the corresponding columns that have non-null values in my model object, leaving the other columns set to their current value?