Re: CRD or CR-U-D

2006-04-05 Thread Jeff Butler
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 <[EMAIL PROTECTED]> wrote: Hi Guys,     I'm using Abator to generate my dao layer….. just curious why there are no upd

CRD or CR-U-D

2006-04-05 Thread Paul Carr
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 selectByExample passing a single Example object, could you not do an updateByExample passing two Example objects, one for the where clause,  and only u