ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinaya Tirikkovalluru" <vinaya.tirikkovall...@converge.com>
Subject RE: Update Table with selected columns
Date Thu, 22 Oct 2009 19:31:52 GMT
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] 
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
<vinaya.tirikkovalluru@converge.com> 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=1, b=2, c=3, .... 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 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


Mime
View raw message