ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: CRD or CR-U-D
Date Wed, 05 Apr 2006 13:49:58 GMT
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 <Paul.Carr@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 ?
>
>
>
>
>

Mime
View raw message