• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting up horizontal inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up horizontal inheritance


  • Subject: Re: Setting up horizontal inheritance
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 5 Nov 2008 06:37:15 +1100

On 05/11/2008, at 6:25 AM, Lachlan Deck wrote:

On 04/11/2008, at 8:50 PM, Paul Hoadley wrote:

I have another clue.  Thanks for bearing with me.

On 04/11/2008, at 6:27 PM, Paul Hoadley wrote:

Maybe I need to start again from scratch.

Just to recap:

1. I have a framework that contains a model Auth that contains an entity Person. It also contains the UserPreference entity that has a to-one relationship to Person. Person is abstract.
2. I have an app that contains a model AMAuth that contains an entity AMPerson. I created AMPerson by subclassing Person in the Auth model (nominating HI), and then cut + pasting over the entries for AMPerson in index.eomodeld, and AMPerson.plist to the AMAuth model. I changed the package on the class appropriately. (Is there an easier way to generate a cross-model sub-entity?)
3. I have set up the tables using the SQL generated by Entity Modeler. This creates both 'person' and 'amperson',

That is not horizontal inheritance to my understanding. You have Vertical inheritance and so you've not modelled it correctly. Person should not have a table for Horizontal.

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?


Or are you saying for HI that the pks are sequential across sub- entities for frontbase?
He's using postgres however...


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


  • Follow-Ups:
    • Re: Setting up horizontal inheritance
      • From: Ken Anderson <email@hidden>
    • Re: Setting up horizontal inheritance
      • From: Mike Schrag <email@hidden>
    • Re: Setting up horizontal inheritance
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Ken Anderson <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Lachlan Deck <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Setting up horizontal inheritance
  • Next by Date: Re: Setting up horizontal inheritance
  • Previous by thread: Re: Setting up horizontal inheritance
  • Next by thread: Re: Setting up horizontal inheritance
  • Index(es):
    • Date
    • Thread