cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: undelete
Date Wed, 16 Sep 2009 12:22:03 GMT
I think context.invalidateObjects(..) should do the trick.

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
>
>


Mime
View raw message