Re: to-many relationship fetching
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.