Re: rollbackChangesLocally

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Dec 07 2006 - 03:12:31 EST

  • Next message: Andrus Adamchik: "Re: serialization error"

    Good catch - I think this was overlooked... I'll open a Jira issue to
    implement this piece.

    Also as the comment states if you are not using nested DataContexts,
    this should work ok.

    Andrus

    On Dec 5, 2006, at 6:58 PM, edward pedersson wrote:
    > Hi
    >
    > I was hoping to use this
    >
    > // TODO: Andrus, 1/19/2006: implement for nested DataContexts
    > public void rollbackChangesLocally() {
    > if (getChannel() instanceof DataDomain) {
    > rollbackChanges();
    > }
    > else {
    > throw new CayenneRuntimeException("Implementation
    > pending.");
    > }
    > }
    >
    > but it states it is still not complete. I am using cayenne 2.0.1.
    >
    > Is there going to get implemented anytime soon or should i do a
    > workaround.
    >
    > Thanks
    >
    > --
    >
    >
    > -- e



    This archive was generated by hypermail 2.0.0 : Thu Dec 07 2006 - 03:13:07 EST