You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by edward pedersson <cp...@googlemail.com> on 2006/12/05 17:58:27 UTC

rollbackChangesLocally

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

Re: rollbackChangesLocally

Posted by Andrus Adamchik <an...@objectstyle.org>.
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.
> 					


RE: rollbackChangesLocally

Posted by Philip Miller <ph...@bbc.co.uk>.
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.
					

Re: rollbackChangesLocally

Posted by Andrus Adamchik <an...@objectstyle.org>.
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