Nested EOEditingContext Question
Nested EOEditingContext Question
- Subject: Nested EOEditingContext Question
- From: "Chan Yeow Heong, Jerome" <email@hidden>
- Date: Sat, 05 Sep 2009 17:50:04 +0800
When I'm using nested editing contexts, do I need to call revert on a
original editing context when I call revert on the nested context?
EOEditingContext original = ERXEC.newEditingContext(true);
EOEditingContext nested = ERXEC.newEditingContext(original,true);
... do some work ...
... something went wrong and we have to cancel all changes ...
nested.revert();
original.revert(); // <-- Is this second call needed?
_______________________________________________
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