Re: Setting up horizontal inheritance
Re: Setting up horizontal inheritance
- Subject: Re: Setting up horizontal inheritance
- From: Mike Schrag <email@hidden>
- Date: Tue, 4 Nov 2008 14:49:36 -0500
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), at which point it doesn't know
that in the future you might not need that abstract superclass table.
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