So in the above examples, you can say
ERXRecursiveBatchFetching.batchFetch(people, "employingCompany");
ERXRecursiveBatchFetching.batchFetch(companies, "employedPeople");
and when you traverse the relationships, they'll be already faulted
for you in a smart way.
But note that you can also pass in a keypath, not just a key, and it
will attempt to put together an optimized fetch. So you could even
pass in, for instance, "employingCompany.customers".
There's also a batchFetchAndRetrieve method for the case where you're
passing in a single keypath where it will go ahead and return the
results for you also.
So watch your queries ... If you're firing a bunch of relationship
traversals, this class can be an easy and HUGE performance gain, just
with a scary name.
ms