On 08/05/2008, at 6:27 AM, Chuck Hill wrote:

On May 7, 2008, at 1:14 PM, Robert Walker wrote:

The only time vertical inheritance makes sense if when you always fetch against leaf nodes of the inheritance tree and only if the inheritance tree is very shallow. Take that to mean one level deep of inheritance with an abstract root entity that you never fetch against.

Anything more complex than that I would recommend single-table.

My 2 cents.

Vertical or horizontal? With vertical this will still select on the root, won't it?

The restricting qualifier kicks in.

I'd have to turn on adaptor logging to clarify the exact ordering (which I might do later today), but if the parent entity is called 'Foo' and it has an attribute 'entityType', entityType plays a part in limiting the result set (assuming you've set up the restricting qualifier and awakeFromInsertion stuff)

with regards,
--

Lachlan Deck

_______________________________________________
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