• 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
many-to-many relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

many-to-many relationship


  • Subject: many-to-many relationship
  • From: Christian Telepski <email@hidden>
  • Date: Fri, 02 Dec 2005 14:40:52 +0100

Dear all,

i am stuck on a many-to-many relationship.

I have 'product' <->> 'prodcat' <<-> 'category', so this means flattened: 'product' <<->> 'category'

now always if i try to insert categories ina product i get following exception:

A valid global ID could not be obtained for entity named prodcat, relationship named categorys, primary key dictionary {proID = 1; catID = 1; }.

I have tried several ways, even without flattening the relationship.

Normally i would like to use a WOCheckBoxList on each product to set the categories. with selection: 'product.categorys'

I have set all necessary attributes like cascade delete rule, own destination and propagate primary key for both entities showing to the join table.

Is this a bug in WO?

If yes, how do i do it???

I have the newest Version of WO and xcode, maybe that is the problem...

Please help!

Thanks in advance Christian
 _______________________________________________
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: many-to-many relationship
      • From: Lachlan Deck <email@hidden>
    • Re: many-to-many relationship
      • From: Robert Walker <email@hidden>
  • Prev by Date: Re: CSV problem
  • Next by Date: Re: many-to-many relationship
  • Previous by thread: Re: CSV problem
  • Next by thread: Re: many-to-many relationship
  • Index(es):
    • Date
    • Thread