Hi,
Is there a way to check if the editingContext is disposed? I guess there should
be something called isDisposed(), it is useful for following scenario.
private EOEditingContext _editingContext;
public EOEditingContext editingContext() {
if(_editingContext == null || _editingContext.isDisposed()) {
_editingContext = ERXEC.newEditingContext();
}
return _editingContext;
}
This ensures that whenever the call is made to editingContext(), the editing
context will be valid.
Just a thought.
Farrukh _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]