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 PROTECTED]
England (MIME welcome)
_______________________________________________
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]