Simple callback question

From: Dave Lamy (davelam..mail.com)
Date: Thu Jul 23 2009 - 23:15:38 EDT

  • Next message: Aristedes Maniatis: "Re: Simple callback question"

    Should the preUpdate callback event get fired for both new and existing
    objects?

    The behavior I'm seeing (3.0M5) is that preUpdate is not getting called when
    saving my new object, but does get called when saving an existing object.
    prePersist is not the correct time for my event code to run.. I need to have
    this run during the commit phase, not during the creation phase.

    Please let me know if this is surprising or not. And if not, do I have any
    choices to get the behavior I need?

    Thanks--
    Dave



    This archive was generated by hypermail 2.0.0 : Thu Jul 23 2009 - 23:16:34 EDT