cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: rollbackChangesLocally
Date Mon, 26 Nov 2007 12:20:09 GMT
yeah, still not implemented. Thanks for pointing it out, adding to my  
long todo:

https://issues.apache.org/cayenne/browse/CAY-716

Andrus


On Nov 23, 2007, at 3:25 PM, Philip Miller wrote:

> Hi. This is an old one - I believe still waiting for implementation as
> of 2.0.4.
>
> Is there a Jira ref?
>
> Thanks
> -p
>
>
>
>
> ________________________________
>
> 	From: Andrus Adamchik [mailto:andrus@objectstyle.org]
> 	Sent: 07 December 2006 08:13
> 	To: cayenne-user@incubator.apache.org
> 	Subject: Re: rollbackChangesLocally
> 	
> 	
> 	This message has been archived. View the original item
> <http://evarche220.national.core.bbc.co.uk/EnterpriseVault/ViewMessage.a
> sp? 
> VaultId=12A1FDAE85990A345A481DD0E3F6C11BE1110000kvsmain&SavesetId=717
> 000000000000~200612070812310000~0~343AF968DD3D4BB0A66DB2ACF4AE39C>
>
> 	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
> 	
> 	
>
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain  
> personal views which are not the views of the BBC unless  
> specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in  
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> 					


Mime
View raw message