Since Abator 1.0 there has been an "updateByPrimaryKeySelective" method. That one will only update the non-null values.
Jeff Butler On 3/23/07, Chris Lamey <[EMAIL PROTECTED]> wrote:
Take a look at your "abatorgenerated_updateByPrimaryKey" update elements in your SQL Maps. Mine will update all values by primary key every time. On Fri, 2007-03-23 at 14:30 -0500, Mark Volkmann wrote: > I'm using Spring DAOs generated by Abator. Is it the case that I can > pass a partially populated model object to a Spring DAO update method > and it will only update the corresponding columns that have non-null > values in my model object, leaving the other columns set to their > current value?