Re: Inheritance...
Re: Inheritance...
- Subject: Re: Inheritance...
- From: Chuck Hill <email@hidden>
- Date: Wed, 7 May 2008 19:58:46 -0700
On May 7, 2008, at 7:55 PM, Mike Schrag wrote:
Vertical or horizontal? With vertical this will still select on
the root, won't it?
That's actually a good question. It will have to select against
the root, obviously, to pick up those attributes, but I don't
think it then calls all the other siblings if you call against a
leaf node, but I could be wrong about that.
No, it won't. I was just clarifying that it will still do two
selects to retrieve one EO.
If you're selecting on a leaf, I actually thought that EOF did the
right thing here and did a join of the leaf with the root and does
it in a single query.
Now that you say that, it sounds correct. It has been years since I
played with this.
If you select against the root, you will have to do leaf-many
queries, though, in both horizontal and vertical.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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