[JIRA] Closed: (CAY-716) DataContext.rollbackChangesLocally() is not implemented for nested DataContexts

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sun Jan 13 2008 - 10:46:33 EST

  • Next message: Michael Gentry: "Re: Logging changes?"

         [ https://issues.apache.org/cayenne/browse/CAY-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrus Adamchik closed CAY-716.
    -------------------------------

        Resolution: Fixed

    > DataContext.rollbackChangesLocally() is not implemented for nested DataContexts
    > -------------------------------------------------------------------------------
    >
    > Key: CAY-716
    > URL: https://issues.apache.org/cayenne/browse/CAY-716
    > Project: Cayenne
    > Issue Type: Task
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Fix For: 3.0
    >
    >
    > There is a following TODO in DC:
    > // TODO: Andrus, 1/19/2006: implement for nested DataContexts
    > public void rollbackChangesLocally() {
    > if (getChannel() instanceof DataDomain) {
    > rollbackChanges();
    > }
    > else {
    > throw new CayenneRuntimeException("Implementation pending.");
    > }
    > }
    > We'll need to implement it (hopefully should be trivial) ... also if possible port back to 2.0, 1.2.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Sun Jan 13 2008 - 10:46:58 EST