Yes, basically what you said -- the query's a good start, but the other elements you're talking about would also be useful.
I'd like to know what part of the query results is eagerly fetched vs. lazily loaded, and which objects have proxies and which don't.
I'm not sure if it's possible for an object in the query results to be both proxied and loaded (without code outside the query actually doing the loading), but if so, I'd like to be tell that too.
That'd give me a lot of information in terms of tuning a query to achieve desired results in terms of ensuring that the objects I expect to use have been loaded, and that if I expect a lot of object activity, they will or won't have the proxy overhead.
_________________ --
Geoffrey Wiseman
|