ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamey <cla...@localmatters.com>
Subject Re: DAO update with partial model objects
Date Fri, 23 Mar 2007 20:52:55 GMT
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?

Mime
View raw message