• 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: Question on addObjectToBothSidesOfRelationshipWithKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on addObjectToBothSidesOfRelationshipWithKey


  • Subject: Re: Question on addObjectToBothSidesOfRelationshipWithKey
  • From: James Cicenia <email@hidden>
  • Date: Wed, 25 Jul 2007 06:46:08 -0500

Well after spending too much time checking the model etc... I just assumed it is a bug and explicitly set the relations and it works now.

James

On Jul 24, 2007, at 9:29 PM, Lachlan Deck wrote:

On 25/07/2007, at 5:57 AM, James Cicenia wrote:

I checked the model "carefully"...

the relationship from pn -- ndt is such where ndt uses vertical inheritance so has a qualifier in it.

If you're using vertical inheritance the rule-of-thumb I found that works is: 'every non-class foreign key in parent entity must be set as class property in sub-entities'


Otherwise EOF gets confused and doesn't properly create the relationships... you can try this out in a D2W app to see when the relationship is properly created or not.

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com


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
References: 
 >Question on addObjectToBothSidesOfRelationshipWithKey (From: James Cicenia <email@hidden>)
 >Re: Question on addObjectToBothSidesOfRelationshipWithKey (From: Chuck Hill <email@hidden>)
 >Re: Question on addObjectToBothSidesOfRelationshipWithKey (From: James Cicenia <email@hidden>)
 >Re: Question on addObjectToBothSidesOfRelationshipWithKey (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Stateless but get bindings of childs
  • Next by Date: Generate DirectAction URL with instance number when there is no session
  • Previous by thread: Re: Question on addObjectToBothSidesOfRelationshipWithKey
  • Next by thread: WXCheckboxList & deployment question
  • Index(es):
    • Date
    • Thread