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 12:05:55 -0800
On Nov 4, 2008, at 11:49 AM, Mike Schrag wrote:
So Chuck says for Frontbase "It does for FrontBase as the PK
generation sequences as associated with a physical table in
FrontBase. ". That's puzzling to me. i.e., AMPerson is a physical
table. Why does the parent need to map to a physical table at all
for HI?
So for FrontBase, sequences are attached to tables, so you must have
a table to have a sequence. In PG, that's not true. So it's
technically possible that the PG plugin doesn't generate this empty
table and instead just generates the sequence for the parent
entity. But I SUSPECT it's implemented at a lower level ... That's
a total guess, though. It's certainly possible the PG plugin is
smart enough to NOT do this for abstract entity horizontal
superclasses. It's sort of tricky, though, since I suppose you
could have a mix of horizontal and single table inheritance (eek),
Yes, you can mix them. I do. It works. Just don't try and think
about how.
Chuck
at which point it doesn't know that in the future you might not need
that abstract superclass table.
--
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