You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Jeff Butler <je...@gmail.com> on 2006/04/05 15:49:58 UTC
Re: CRD or CR-U-D
Abator will generate an updateByPrimaryKey statement if the table has a
primary key. There is no updateByExample support currently.
Jeff Butler
On 4/5/06, Paul Carr <Pa...@express-gifts.co.uk> wrote:
>
> Hi Guys,
>
> I'm using Abator to generate my dao layer….. just curious why
> there are no update methods generated ? If you can do a selectByExamplepassing a single Example object, could you not do an
> updateByExample passing two Example objects, one for the where clause, and
> only updating the fields that are different between the two ?
>
>
>
>
>