Re: undelete

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Thu Sep 17 2009 - 03:36:39 EDT

  • Next message: Michael Gentry: "Re: Memory Management using Tomcat"

    On 16/09/2009, at 10:22 PM, Andrus Adamchik wrote:

    > I think context.invalidateObjects(..) should do the trick.

    Cool, thanks Andrus. I'll come back if problems persist ;-)

    > Andrus
    >
    > On Sep 16, 2009, at 3:20 AM, Lachlan Deck wrote:
    >
    >> Hi there,
    >>
    >> say an object has been marked for deletion
    >> [getObjectContext.deleteObject(foo)] but prior to commit you want
    >> to reverse that - but without discarding other changes in the
    >> context... what's the trick?
    >>
    >> Thanks.
    >>
    >> with regards,
    >> --
    >>
    >> Lachlan Deck
    >>
    >>
    >

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Thu Sep 17 2009 - 03:37:48 EDT