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

Re: to-many relationship fetching


  • Subject: Re: to-many relationship fetching
  • From: "Anurag Khare" <email@hidden>
  • Date: Tue, 29 Apr 2003 13:21:56 -0700

Entity B has to-one relationship to Entity A. Entity A has to-many relationship to Entity B. I fetch "A" and wish to get details(ARRAY) from "B". Using ObjectA.relationshipname() to get Array but it shows null...

I do not know how to set "-EOAdaptorDebugEnabled true" in launch argument. Could you please elaborate...
Thanks
Anurag




From: Art Isbell <email@hidden>
To: email@hidden
Subject: Re: to-many relationship fetching
Date: Tue, 29 Apr 2003 09:17:54 -1000

On Tuesday, April 29, 2003, at 07:37  AM, Anurag Khare wrote:

I am using WO 5.2 and Sybase 12.5.0.2 as database. I am having a to-many relationship between two tables.

I am assuming that EntityA has a to-many relationship, EntityA.entityBs, to EntityB. But EntityA and EntityB might be related many-to-many as well which could change things. Please provide a little more detail about the relationship that you want to prefetch.


I have used prefetching option in the EOModel to fetch the to-many array through the relaionship key but I get null in the array.

Have you verified by setting the launch argument "-EOAdaptorDebugEnabled true" that EntityA's are being fetched but that related EntityB's are not being fetched?


Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: to-many relationship fetching
      • From: Chuck Hill <email@hidden>
    • Re: to-many relationship fetching
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: to-many relationship fetching
  • Next by Date: Re: to-many relationship fetching
  • Previous by thread: Re: to-many relationship fetching
  • Next by thread: Re: to-many relationship fetching
  • Index(es):
    • Date
    • Thread