• 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: 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


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>)
 >Re: Inheritance... (From: Robert Walker <email@hidden>)
 >Re: Inheritance... (From: Chuck Hill <email@hidden>)
 >Re: Inheritance... (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Inheritance...
  • Next by Date: Re: Getting WebObjects Javadoc to appear in eclipse
  • Previous by thread: Re: Inheritance...
  • Next by thread: Re: Inheritance...
  • Index(es):
    • Date
    • Thread