Re: lifecycle callbacks not always fired

From: Marcin Skladaniec (marci..sh.com.au)
Date: Wed Mar 14 2007 - 08:40:36 EDT

  • Next message: Andrus Adamchik: "Re: lifecycle callbacks not always fired"

    We are upgrading the data, and we are just touching objects (setting
    new modifiedOn value) to make them run the postUpdate().
    All happens on server. All objects are committed together. New
    modifiedOn value is saved to db, but postUpdate never runs.
    Regards
    Marcin

    On 14/03/2007, at 8:59 PM, Andrus Adamchik wrote:

    > Is it an update that resulted from another callback by any chance?
    >
    > Andrus
    >
    > On Mar 14, 2007, at 8:51 AM, Lachlan Deck wrote:
    >
    >> Hi Andrus (in particular),
    >>
    >> (Note: 3 tier Cayenne)
    >>
    >> we're finding that the postUpdate method is not being called if an
    >> operation is commenced on the server-side (like a data upgrade
    >> service). However, if the operation is triggered from the client-
    >> side then it is called.
    >>
    >> Any ideas?
    >>
    >> Thanks.
    >>
    >> with regards,
    >> --
    >>
    >> Lachlan Deck
    >>
    >>
    >>
    >>
    >

    Marcin



    This archive was generated by hypermail 2.0.0 : Wed Mar 14 2007 - 08:41:10 EDT