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

Re: Multiple many-to-many with single-table inheritance


  • Subject: Re: Multiple many-to-many with single-table inheritance
  • From: Amedeo Mantica <email@hidden>
  • Date: Sun, 4 Dec 2005 15:59:57 +0100

please explain better
can you add a EOmodeler graphical view screenshot?

amedeo

On 04/dic/05, at 06:00, Drew Thoeni wrote:

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:
40macintossicati.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Multiple many-to-many with single-table inheritance (From: Drew Thoeni <email@hidden>)

  • Prev by Date: Re: Multiple many-to-many with single-table inheritance
  • Next by Date: Re: Creating PDF output on demand
  • Previous by thread: Multiple many-to-many with single-table inheritance
  • Next by thread: Re: Multiple many-to-many with single-table inheritance
  • Index(es):
    • Date
    • Thread