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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Dec 07 2006 - 03:17:04 EST

  • Next message: Kevin Menard: "RE: Re: Re: Re: Re: Re: Password Encoding"

    DataContext.rollbackChangesLocally() is not implemented for nested DataContexts
    -------------------------------------------------------------------------------

             Key: CAY-716
             URL: http://issues.apache.org/cayenne/browse/CAY-716
         Project: Cayenne
            Type: Task

      Components: Cayenne Core Library
        Versions: 3.0
        Reporter: Andrus Adamchik
     Assigned to: 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.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



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