• 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: How do I refresh a many-to-many?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How do I refresh a many-to-many?
      • From: Chuck Hill <email@hidden>
References: 
 >How do I refresh a many-to-many? (From: Kevin Windham <email@hidden>)
 >Re: How do I refresh a many-to-many? (From: Robert Walker <email@hidden>)
 >Re: How do I refresh a many-to-many? (From: Mike Schrag <email@hidden>)
 >Re: How do I refresh a many-to-many? (From: Kevin Windham <email@hidden>)
 >Re: How do I refresh a many-to-many? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: How do I refresh a many-to-many?
  • Next by Date: Re: How do I refresh a many-to-many?
  • Previous by thread: Re: How do I refresh a many-to-many?
  • Next by thread: Re: How do I refresh a many-to-many?
  • Index(es):
    • Date
    • Thread