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

Re: one-to-many relationship question


  • Subject: Re: one-to-many relationship question
  • From: Paul D Yu <email@hidden>
  • Date: Thu, 08 Sep 2011 15:03:38 -0400

This is what I know.

Owns destination on a toOne relationship means every time a master record is created, a "child" record will also be created.  The primary key of the child will be set to the primary key of the master.

Cascade delete means when you delete the master record, the child record(s) will automatically be deleted as well.

Paul
On Sep 8, 2011, at 2:59 PM, Michael Gargano wrote:

> Hi all,
>
> 	Quick question, does delete on cascade imply owns destination?  Also, does checking owns destination force the insertion of the destination objects after the insertion of the source entity?
>
> I think David LeBer answered this for me once, but I forgot.
>
> Thanks.
> -Mike
>
> _______________________________________________
> 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

 _______________________________________________
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: one-to-many relationship question
      • From: "Cheong Hee (Gmail)" <email@hidden>
References: 
 >one-to-many relationship question (From: Michael Gargano <email@hidden>)

  • Prev by Date: Entity Validation Exception Question
  • Next by Date: Re: Entity Validation Exception Question
  • Previous by thread: one-to-many relationship question
  • Next by thread: Re: one-to-many relationship question
  • Index(es):
    • Date
    • Thread