• 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
Multiple many-to-many with single-table inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple many-to-many with single-table inheritance


  • Subject: Multiple many-to-many with single-table inheritance
  • From: Drew Thoeni <email@hidden>
  • Date: Sun, 4 Dec 2005 00:00:21 -0500

I have a set of two objects:

Project
Employee

The Project has three attributes that relate to Employee:

projectOwnerID
consultantID
projectManagerID

I'd like to use single-table inheritance and have Employee with children.

It is unclear to me how to create three many-to-many joins in EOModeler between the two Objects (Project and Employee).

Is this possible? I can create the first one using "Join in Many-to- Many", but adding the next fails as EOModeler has already created a flattened relationship for "projects" and "employees."

The best idea I have is to rename the relationships from "employees" to "owners", "consultants", and "projectManagers" and rename the other side as "ownerProjects", "consultantProjects", and "projectManagerProjects."

Is this the proper method?

Regards,

Drew
_______________________________________________
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: Multiple many-to-many with single-table inheritance
      • From: Amedeo Mantica <email@hidden>
  • Prev by Date: Re: Search Tools
  • Next by Date: Re: Multiple many-to-many with single-table inheritance
  • Previous by thread: Re: Search Tools
  • Next by thread: Re: Multiple many-to-many with single-table inheritance
  • Index(es):
    • Date
    • Thread