• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inheritance...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance...


  • Subject: Re: Inheritance...
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 8 May 2008 08:12:35 +1000

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Inheritance... (From: Florijan Stamenkovic <email@hidden>)
 >Re: Inheritance... (From: Chuck Hill <email@hidden>)
 >Re: Inheritance... (From: Robert Walker <email@hidden>)
 >Re: Inheritance... (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Wonder BugTracker
  • Next by Date: Re: WO Tutorials
  • Previous by thread: Re: Inheritance...
  • Next by thread: Re: Inheritance...
  • Index(es):
    • Date
    • Thread