• 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: Many-To-Many Problem Revisited
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many-To-Many Problem Revisited


  • Subject: Re: Many-To-Many Problem Revisited
  • From: Art Isbell <email@hidden>
  • Date: Wed, 8 Jan 2003 09:15:03 -1000

On Wednesday, January 8, 2003, at 05:10  AM, Jonathan Fleming wrote:

In the application, when I save a selection of categories in the WOBrowser the appear to save ok but when rebuild and run the application and go back to the page with the list of categories I find that every category in the list has been highlighted instead of the selection I made and this happens on every object in the application that has this many-to-many link.

Do your database rows reflect what you're seeing in your browser? I.e., has each object been related many-to-many to all the destination objects in the display group? If so, then the UI is probably correct but something in your model or code is incorrect.


Have you set EOAdaptorDebugEnabled to true so you can watch the SQL being generated? If so, is it correct?

In finding this code it has made me think that there is some vital code I am missing when saving to a flattened many-to-many relationship. Does anyone know if this is so and if so can you please post it with a brief explanation on how to implement it if necessary.

If you used EOModeler to configure your many-to-many relationship and you didn't modify what EOModeler produced, you shouldn't need any special code. The flattened to-many relationship should behave like any to-many relationship.


Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Many-To-Many Problem Revisited (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Problem with update to 5.1.4
  • Next by Date: Re: Dec Tools 2002 Warning
  • Previous by thread: Many-To-Many Problem Revisited
  • Next by thread: Problem with update to 5.1.4
  • Index(es):
    • Date
    • Thread