Re: Many to Many self join
Re: Many to Many self join
- Subject: Re: Many to Many self join
- From: David Holt <email@hidden>
- Date: Wed, 26 Jan 2005 15:07:30 -0800
Hi Art,
Thanks for confirming that reflexive many-to-many relationships work! I
have gone back and double-checked everything as if I were creating a
"normal" many-to-many between two tables. I realized that I was
actually referring to the same relationship because of my confusion
with "previous" and "next" names that I used. It turns out that the
relationship has to be nextImages_prevImage and previmages_nextimage to
get everything relating right. Not exactly intuitive, but then that's
my fault, not EOModeler's! Thanks again,
David
On 26 Jan 2005, at 1:17 PM, Art Isbell wrote:
Basically, you want a configuration identical to that which EOModeler
would build for a many-to-many relationship. The descriptions sound
correct. Ensure that only the flattened relationships are class
properties; i.e., none of the to-one and to-many relationships should
be class properties. Also, ensure that the relationship properties
are correct. The to-one relationships should be optional with a
nullify delete rule. The to-many relationships should be optional
with a cascade delete rule. The to-many relationships should be
configured to propagate the primary key.
--
"Insanity is expecting different results from repeating the same
action." -- Anonymous
_______________________________________________
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