ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damien McCarthy" <damien.mccar...@propylon.com>
Subject RE: DAO update with partial model objects
Date Sun, 25 Mar 2007 12:15:26 GMT
Mark,

Not using the standard implementation, as there may be times when a user
would wish to set a column to null.

D.

-----Original Message-----
From: Mark Volkmann [mailto:mark@ociweb.com] 
Sent: 23 March 2007 19:31
To: user-java@ibatis.apache.org
Subject: DAO update with partial model objects

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