• 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
ERRest and ToMany relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERRest and ToMany relationships


  • Subject: ERRest and ToMany relationships
  • From: Pascal Robert <email@hidden>
  • Date: Fri, 19 Nov 2010 15:30:40 -0500

Hi (especially Mike S.),

Mike, in the comments you made on my ERRest slides for WOWODC, you said that sub-entities should be created for To Many relationships, but I just tried back and it's doesn't work for me. I have a Order with a relation (1:N) to OrderItem, and each OrderItem is linked to a product (1:1). Now, if I try to create a Order with two OrderItem, the Order is created with the values, but for the OrderItem, two items are created, but all values are set to null.

So I am doing something wrong or do I have to create the order first and make another calls to create each order item?


--
Pascal Robert
email@hidden

AIM/iChat : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti
Twitter : pascal_robert

 _______________________________________________
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: ERRest and ToMany relationships
      • From: Farrukh Ijaz <email@hidden>
    • Re: ERRest and ToMany relationships
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: Uploading >3GB files with D2W Modern Look
  • Next by Date: Re: ERRest and ToMany relationships
  • Previous by thread: Re: OT: Netbeans 7 Beta
  • Next by thread: Re: ERRest and ToMany relationships
  • Index(es):
    • Date
    • Thread