Re: to-many relationship fetching
Re: to-many relationship fetching
- Subject: Re: to-many relationship fetching
- From: Art Isbell <email@hidden>
- Date: Tue, 29 Apr 2003 13:58:01 -1000
On Tuesday, April 29, 2003, at 12:39 PM, Anurag Khare wrote:
So one thing is sure that relationship is working and there is data
relating to key....I do not know why prefetch option is not working..
Are you certain that the relationship isn't being prefetched and that
the problem isn't due to an improperly-configured UI?
My next problem is how to use this NSArray which I am getting through
relationship to display data through WORepetition as it is throwing
class cast exception..
If EntityA's WORepetition's "item" key is bound to entityAItem,
EntityB's WORepetition's "list" should be bound to entityAItem.entityBs
(assuming that the to-many relationship is EntityA.entityBs). This
shouldn't require any code and therefore no casting unless there's more
going on than I understand.
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.