Re: Setting up horizontal inheritance
Re: Setting up horizontal inheritance
- Subject: Re: Setting up horizontal inheritance
- From: Chuck Hill <email@hidden>
- Date: Tue, 4 Nov 2008 11:43:36 -0800
On Nov 4, 2008, at 11:38 AM, Lachlan Deck wrote:
On 05/11/2008, at 6:31 AM, Mike Schrag wrote:
That is not horizontal inheritance to my understanding. You have
Vertical inheritance and so you've not modelled it correctly.
Person should not have a table for Horizontal.
Chuck is right, you will get a table for the abstract parent so
that PK generation works properly and generates unique PK's across
all of your horizontal subentities.
Why is that necessary? i.e., why do they need to be unique across
sub-entities for HI?
(and it's obviously not working ;-)
Because if they are not, EOF can't tell which object is of which
entity type.
Chuck
--
Chuck Hill Senior Consultant / VP Development
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