Re: EventSubjects

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Jul 22 2004 - 16:20:01 EDT

  • Next message: Dirk Wellmann: "Re: Primary Key question"

    On Jul 21, 2004, at 5:06 PM, Holger Hoffstätte wrote:

    > Andrus Adamchik wrote:
    >
    > > for DataContext.WILL_COMMIT, DID_COMMIT, DID_ROLLBACK. The problem
    > > is that DID_COMMIT doesn't tell you what the changes where, while
    > > WILL_COMMIT doesn't guarantee that the changes will succeed...
    >
    > The posted events can carry additional information (aka userInfo),
    > just like in EOF. It should not be too difficult to attach e.g. a
    > changeset of diffs or the OIDs of inserted/deleted/updated objects.

    I agree. Though this will likely have to wait till the next release
    cycle, as we are in the feature freeze, and this affects ContextCommit
    logic.

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Jul 22 2004 - 16:20:04 EDT