Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 53010 invoked from network); 22 Oct 2009 19:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Oct 2009 19:32:22 -0000 Received: (qmail 60577 invoked by uid 500); 22 Oct 2009 19:32:21 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 60560 invoked by uid 500); 22 Oct 2009 19:32:21 -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 60552 invoked by uid 99); 22 Oct 2009 19:32:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 19:32:21 +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: domain of vinaya.tirikkovalluru@converge.com designates 64.28.87.18 as permitted sender) Received: from [64.28.87.18] (HELO peasmtpdns01.converge.com) (64.28.87.18) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 19:32:13 +0000 Received: from PE-EVS.converge.com (pat_userdmz.converge.com [172.28.1.249]) by peasmtpdns01.converge.com (8.14.2/8.12.10) with ESMTP id n9MJVqNG026689 for ; Thu, 22 Oct 2009 15:31:52 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Update Table with selected columns Date: Thu, 22 Oct 2009 15:31:52 -0400 Message-ID: <6892C825A8016D4681D01CF07391E452C45679@PE-EVS.converge.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Update Table with selected columns Thread-Index: AcpTTg+VkM+GzMzNRgiuCkENS8ZQigAABc4A From: "Vinaya Tirikkovalluru" To: X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 X-Virus-Checked: Checked by ClamAV on apache.org They do, they don't take the specified columns though. I need to update all the columns in the table. I don't want to do that. I would like to specify which columns I want to update, not all Thanks Vinaya -----Original Message----- From: Jeff Butler [mailto:jeffgbutler@gmail.com]=20 Sent: Thursday, October 22, 2009 3:29 PM To: user-java@ibatis.apache.org Subject: Re: Update Table with selected columns Ibator generates updateByPrimaryKey and updateByExample methods that serve this purpose. Jeff Butler On Thu, Oct 22, 2009 at 2:26 PM, Vinaya Tirikkovalluru wrote: > Hi, > > > > I am using Ibator to generate the Ibatis objects. > > I have a requirement where I should be able to create the SQL as > > > > Update table set a=3D1, b=3D2, c=3D3, .... Where clause/primary key > > > > Any one did get this to work with Ibator? I would like to modify the Ibator > code if necessary > > > > Thanks > > Vinaya > > > > ________________________________ > This electronic message is intended only for the use of the individual(s) or > entity(ies) named above and may contain information which is privileged > and/or confidential. If you are not the intended recipient, be aware that > any disclosure, copying, distribution, dissemination or use of the contents > of this message is prohibited. If you received this message in error, please > notify the sender immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org This electronic message is intended only for the use of the individual(s)= or entity(ies) named above and may contain information which is privileg= ed and/or confidential. If you are not the intended recipient, be aware = that any disclosure, copying, distribution, dissemination or use of the c= ontents of this message is prohibited. If you received this message in e= rror, please notify the sender immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org