Re: How do I refresh a many-to-many?
Re: How do I refresh a many-to-many?
- Subject: Re: How do I refresh a many-to-many?
- From: Kevin Windham <email@hidden>
- Date: Wed, 18 Apr 2007 18:39:11 -0500
On Apr 18, 2007, at 5:08 PM, Chuck Hill wrote:
On Apr 18, 2007, at 2:55 PM, Kevin Windham wrote:
I knew this would be a thorny issue, and I was hoping not to have
to deal with it. When fooling around with different ideas, I
decided to try adding the user to the club instead of adding the
club to the user.
addObjectsToBothSidesOfRelationshipWithKey
They should be equivalent.
Of course they shouldn't. That is why
addObjectsToBothSidesOfRelationshipWithKey (a) exists and (b) is
recommended.
What am I missing? When I look at the DB the same result occurs
whether I add user to club or club to user. The same IDs end up in
the join table. Or are you referring to the WebObjects manages it's
in memory graph. I can see that is different by the fact I got
different results, but am I missing something else? I'd like to
understand this better if I can.
Thanks,
Kevin
_______________________________________________
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