RE: rollbackChangesLocally

From: Philip Miller (philip.mille..bc.co.uk)
Date: Fri Nov 23 2007 - 08:25:14 EST

  • Next message: Chris Farnham: "RE: To severe things"

    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:andru..bjectstyle.org]
            Sent: 07 December 2006 08:13
            To: cayenne-use..ncubator.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.
                                            



    This archive was generated by hypermail 2.0.0 : Fri Nov 23 2007 - 08:25:52 EST