Re: Handy fault firing detection
Re: Handy fault firing detection
- Subject: Re: Handy fault firing detection
- From: Patrick Middleton <email@hidden>
- Date: Wed, 8 Nov 2006 17:17:14 +0000
On 8 Nov 2006, at 16:54, Florijan Stamenkovic wrote:
Hi all,
Does anyone know an easy way to detect when a fault is fired? I
would like to run some tests on my app to be able to better
optimize fetching.
Thanks,
Flor
How about overriding EOCustomObject.clearFault() to write a log message?
I myself am using EOEditingContext.Delegat.
editingContextShouldFetchObjects(,) . The qualifier in the
EOFetchSpecification argument is usually distinctive; I have managed
to exploit this to prevent going to the database when firing an array
fault as a consequence of adding or removing detail objects from a to-
many relationship.
--
Patrick Middleton
OneStep Solutions plc
351 London Road Phone: +44 (0)1702 426400
Hadleigh Fax: +44 (0)1702 556855
Essex. SS7 2BT Email: email@hidden
England (MIME welcome)
_______________________________________________
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