Re: Saving a single object

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue May 10 2005 - 20:47:08 EDT

  • Next message: Tore Halset: "trouble with data-port"

    > I think I still need the snapshots
    > to compare the commited and current version, right?

    I don't think you need to. If you overwrite an object property with an
    equal value, Cayenne is going to detect this on commit and won't include
    this value in an update query. If Cayenne detects that ALL values are the
    same, then no update query will be executed at all.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue May 10 2005 - 20:47:10 EDT