Can not undo delete
Can not undo delete
- Subject: Can not undo delete
- From: Daniel Eggert <email@hidden>
- Date: Thu, 4 Aug 2005 12:30:12 +0200
Hi all,
I'm new to WebObjects... I'm adding and deleting objects to my
EOEditingContext through my WODisplayGroup. If I run
EOEditingContext ec = session().defaultEditingContext();
ec.revert();
my additions get reverted, but my deletes stay in effect, i.e. any
objects that were delete do not get back.
The documentation reads: "revert() clears the undo stack, discards
all insertions and deletions, and restores updated objects to their
last committed (saved) values."
I tried to set
setPropagatesDeletesAtEndOfEvent(false);
but I get the same behaviour.
What did I miss?
/Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden