Re: Default/Initial values && post validation delegates etc

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Sep 12 2006 - 09:45:15 EDT

  • Next message: Aristedes Maniatis: "Re: Default/Initial values && post validation delegates etc"

    On Sep 11, 2006, at 10:08 PM, Lachlan Deck wrote:

    > If not - maybe I can put a vote in for a delegate method being
    > added which is called just prior to the object return. ala
    > awakeFromInsertion(ObjectContext) :-)

    BTW, JPA spec [1] defines a bunch of callback annotations
    (PrePersist, PostPersist, PreRemove, PostRemove, PreUpdate,
    PostUpdate, PostLoad). We need to think of a way to bring them to
    Cayenne proper even if it doesn't operate in the "JPA mode".

    Andrus

    [1] http://jcp.org/en/jsr/detail?id=220



    This archive was generated by hypermail 2.0.0 : Tue Sep 12 2006 - 09:45:25 EDT