Multiple many-to-many with single-table inheritance
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