Re: Bi-directional One-to-one relationship
Re: Bi-directional One-to-one relationship
- Subject: Re: Bi-directional One-to-one relationship
- From: Arturo Perez <email@hidden>
- Date: Mon, 18 Apr 2005 16:07:48 -0400
Des Oates wrote:
Hi Arturo,
Thanks for the follow up. I started from scratch again and followed your
steps, and apparently I get a different outcome than you do. I put some
comments inline on that, but its not so relevant now, since in the
process of doing this, I got to the bottom of my problem.
If you have the time could you try cntl-dragging in the other direction?
That instead of
We cntrl-drag from fkData to pkData and we have our one-to-one
relationship, bidirectional by default.
This is where I start to deviate. I don't get a 1-1 relationship by
default. I get a 1-many by default, where 1 'TheData' maps to many
'TheState's
Could you cntrl-drag from pkData to fkData. I think the error you got
may be EOModeller complaining that fkData is not the primary key of
State (which it isn't).
_______________________________________________
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