On May 11, 2006, at 3:19 PM, Chuck Hill wrote:

Batch faulting just ensure that when one fault is fired, others are fired at the same time so that fewer trips are made to the database. prefetchingRelationshipKeyPaths is about pulling in all objects related to the object(s) being fetched.

EODatabaseContext's batchFetchRelationship() efficiently fetches all objects related to an array of objects of a single type in no more than two fetches. This can prevent performance-killing individual fetches as objects related to objects in an array are referenced (e.g., in a WORepetition).

EOF provides a variety of different ways to efficiently fetch objects related to other objects.

Aloha,
Art

_______________________________________________
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]

Reply via email to