Re: Setting up horizontal inheritance
Re: Setting up horizontal inheritance
- Subject: Re: Setting up horizontal inheritance
- From: Mike Schrag <email@hidden>
- Date: Mon, 3 Nov 2008 10:24:13 -0500
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.
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