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 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 updating the fields that are different between the two ?

 

 


Reply via email to