Re: Setting up horizontal inheritance
Re: Setting up horizontal inheritance
- Subject: Re: Setting up horizontal inheritance
- From: Ken Anderson <email@hidden>
- Date: Mon, 3 Nov 2008 12:36:59 -0500
On Nov 3, 2008, at 10:24 AM, Mike Schrag wrote:
I've made Person abstract in the model. I've deleted the
redundant EO (AMUserPreference), and UserPreference (which is in
the same framework as Person) points to the abstract Person
entity. I no longer generate a 'person' table, as I won't be
instantiating Person.
That might be a bad idea. Some databases ( FrontBase) need this
base table for PK generation.
Seriously? I would consider that a serious flaw. PK generation
should always happen at the abstract level... You're saying that
in FrontBase, you can't have primary keys based in an abstract
entity??
He's saying exactly the opposite. If Person is abstract, you can't
delete the Person table because it will be used for PK generation.
OK, so that table has to exist - but it won't receive any rows. It
just needs to exist for generating the keys... makes sense. Thanks.
ms
_______________________________________________
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
_______________________________________________
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