• 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 and Direct2Web throwing exceptions on save
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many to many and Direct2Web throwing exceptions on save


  • Subject: Re: Many to many and Direct2Web throwing exceptions on save
  • From: Art Isbell <email@hidden>
  • Date: Sat, 8 Feb 2003 08:33:52 -1000

On Saturday, February 8, 2003, at 03:28  AM, Stephen Brandon wrote:

I'm having a problem with many to many relationships, and trying to get them
to successfully create rows in the join table.

From your message, it appears that you have attempted to build a many-to-many relationship yourself. This is not easy to do correctly unless you've done so many times. Instead, let EOModeler do it for you. In EOModeler, select the model entry itself in the upper left corner of the model window. This will result in all entities being displayed in the right portion of the window. Select the 2 entities you want to join in a many-to-many relationship (Apple-Click both entries if using OS X). Then under the Property menu, select "Join in Many-to-Many". All relationships will be configured for you.


You may then unset those relationships that you don't need to be class properties, but try to avoid modifying the relationships themselves. I suspect your current many-to-many relationships is lacking the "Propagate Primary Key" setting, but it's difficult to know for sure.

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 and Direct2Web throwing exceptions on save (From: Stephen Brandon <email@hidden>)

  • Prev by Date: How do you create an EOQualifier for NSTimestamp data type?
  • Next by Date: Re: How do you create an EOQualifier for NSTimestamp data type?
  • Previous by thread: Many to many and Direct2Web throwing exceptions on save
  • Next by thread: How do you create an EOQualifier for NSTimestamp data type?
  • Index(es):
    • Date
    • Thread