On 2/22/06, Chris Terrebonne <[EMAIL PROTECTED]> wrote: > I use a "homemade" DAO/Record generator that creates an update function that > optionally accepts a structure that contains the fields I want updated. > Here is an example:
General comment--worrying about things at that level is something that goes against the grain in terms of how ORMs handle the problem they solve. The whole point in my mind is for us as developers to think at the object level and let the ORM worry about what needs to be updated and how specifically to accomplish it. I've done quite a bit with Hibernate in Java and the issue of a selective update just doesn't ever come up; it's just not how the problem should be thought of if you're going to use an ORM. As long as the data hasn't changed I don't see why it really matters if a field gets "updated" to the same value it was before. Matt -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

