• 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: PKs With Multitable Inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PKs With Multitable Inheritance


  • Subject: Re: PKs With Multitable Inheritance
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 27 Jul 2011 17:23:42 -0700

On 2011-07-27, at 5:21 PM, Ted Archibald wrote:

> With a project I'm working on I decided to have a number of my entities inherit from an abstract entity.  Each of these entities have their own separate table (I forget what kind of inheritance that's called...).

Horizontal.


> I noticed that EOF is only generating a single series of PKs for the abstract parent entity and not PKs for each child entity.  I read somewhere that that's what EOF likes to do with inheritance.  But considering I'd never be dealing with the abstract entity, is there a way to make EOF give PKs to each individual entity?

There is probably a way, but it will lead to corrupt data or other problems.  EOF needs all the EOs in a hierarchy to have a unique key regardless of entity.


Chuck


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

  • Follow-Ups:
    • Re: PKs With Multitable Inheritance
      • From: Ramsey Gurley <email@hidden>
References: 
 >PKs With Multitable Inheritance (From: Ted Archibald <email@hidden>)

  • Prev by Date: PKs With Multitable Inheritance
  • Next by Date: Re: PKs With Multitable Inheritance
  • Previous by thread: PKs With Multitable Inheritance
  • Next by thread: Re: PKs With Multitable Inheritance
  • Index(es):
    • Date
    • Thread