Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-716

DataContext.rollbackChangesLocally() is not implemented for nested DataContexts

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M3
    • Core Library
    • None

    Description

      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.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: