• 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: 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


  • Follow-Ups:
    • Re: Setting up horizontal inheritance
      • From: Ken Anderson <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: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Question: Best practice for switching db connections as build time
  • Next by Date: Re: Auto Save form data
  • Previous by thread: Re: Setting up horizontal inheritance
  • Next by thread: Re: Setting up horizontal inheritance
  • Index(es):
    • Date
    • Thread