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

Reply via email to