Re: vertical inheritance
Re: vertical inheritance
- Subject: Re: vertical inheritance
- From: Mike Schrag <email@hidden>
- Date: Mon, 21 May 2007 16:26:13 -0400
Since you're currently the leading contender for the 2007 Vertical
Inheritance Award, you mind setting up a test scenario of this and
let me know if it works as expected?
ms
On May 21, 2007, at 4:17 PM, Lachlan Deck wrote:
On 22/05/2007, at 6:09 AM, Mike Schrag wrote:
"Using EOModeler" Page 74 under Vertical Mapping, step #3:
"Flatten the Person parent entity’s relationships into each child
entity (Employee and Customer)
if it has any relationships, and set them as class properties if
they are class properties in the Person
entity."
So either the manual on how to do it is wrong, or the example of
how to do it is wrong. Awesome.
:-D
My bet's on the manual being wrong.
Thinking about it: it makes absolutely no sense to flatten both the
foreign keys into the child as well as flattening the relationship.
But seeing as EOF requires that you flatten the foreign keys that
leads us (me) to one conclusion: don't flatten relationships into
child - and in fact validate it as wrong to do so please ;-)
Unless anyone can put forward a reasonable argument for why both
would be flattened I'd go ahead and do it.
Well that makes me feel like there's more certainty in this...
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