Re: update and insert events

From: Mike Kienenberger (mkienen..laska.net)
Date: Tue May 31 2005 - 10:31:18 EDT

  • Next message: Enrico Donelli: "Re: update and insert events"

    enrico <enric..nricod.it> wrote:
    > Hi, sorry if this is a FAQ, but I can't find answer in the docs.
    > Can I, may be implementing some interface, make cayenne call some
    > methods on my object before the insert or update event?
    > I noticed that some method are called for validation: is there anything
    > similar for onUpdate, onInsert, etc?

    Might be something in here that works for you:

    http://www.objectstyle.org/cayenne/api/cayenne/org/objectstyle/cayenne/access/DataContextDelegate.html
    shouldMergeChanges



    This archive was generated by hypermail 2.0.0 : Tue May 31 2005 - 10:29:00 EDT