• 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: Non Compulsory toOne Relationships, Propergating Primary Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non Compulsory toOne Relationships, Propergating Primary Key


  • Subject: Re: Non Compulsory toOne Relationships, Propergating Primary Key
  • From: Owen McKerrow <email@hidden>
  • Date: Thu, 13 Dec 2007 11:25:36 +1100



On 08/12/2007, at 7:02 AM, Art Isbell wrote:

On Dec 7, 2007, at 8:51 AM, Chuck Hill wrote:

On Dec 6, 2007, at 11:50 PM, Art Isbell wrote:

A to-one relationship from one foreign key to a primary key

Typo: should read "from a primary key to a primary key"

must always have exactly one row in the destination entity—if this isn’t guaranteed to be the case, use a to-many relationship. This rule doesn’t apply to a foreign key to primary key relationship where a null value for the foreign key in the source row indicates that no row exists in the destination.

I copied and pasted the above, so it's not a typo in the general case. However, in this specific case, the foreign key is the primary key, so "from a primary key to a primary key" applies.


Aloha,
Art


So what this seems to be saying is that WebObjects supports 0..X or 1..1 relationships but not 0..1 ?


Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

"I like the way this project has somehow, against all common sense, got itself made."
- Peter Jackson, "The Lord of The Rings"


_______________________________________________
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: Non Compulsory toOne Relationships, Propergating Primary Key
      • From: Chuck Hill <email@hidden>
References: 
 >Non Compulsory toOne Relationships, Propergating Primary Key (From: Owen McKerrow <email@hidden>)
 >Re: Non Compulsory toOne Relationships, Propergating Primary Key (From: Art Isbell <email@hidden>)
 >Re: Non Compulsory toOne Relationships, Propergating Primary Key (From: Chuck Hill <email@hidden>)
 >Re: Non Compulsory toOne Relationships, Propergating Primary Key (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: WOLips Binding Validation
  • Next by Date: Re: Non Compulsory toOne Relationships, Propergating Primary Key
  • Previous by thread: Re: Non Compulsory toOne Relationships, Propergating Primary Key
  • Next by thread: Re: Non Compulsory toOne Relationships, Propergating Primary Key
  • Index(es):
    • Date
    • Thread