Re: Inheritance and prefetching
Re: Inheritance and prefetching
- Subject: Re: Inheritance and prefetching
- From: Ken Anderson <email@hidden>
- Date: Fri, 06 Dec 2013 10:00:53 -0500
In ancient times… (and I mean like, 15 years ago)
A back pointing relationship from the subclasses of B to the abstract A (where the to-many relationship ‘toB' is) was necessary for all the plumbing to hook things up when the EOs came back from the prefetch.
Ken
On Dec 5, 2013, at 3:08 PM, Alexis Tual <email@hidden> wrote:
> Hi,
>
> I have 2 single table hierarchies :
> - B1 inherits from B
> - A1 inherits from A (abstract), A1 has a to-many relationship to B, let's call it toBs
>
> is it possible to prefetch this relationship ?
>
> We can't manage to get it work, I'll past the obscure exception tomorrow but can anyone confirm that this kind of prefetch works with EOF ?
> I've also tried ERXBatchFetchUtilities which seems promising "This works much like prefetching with fetch specifications, however this implementation is able to work around inheritance where prefetching fail", but no luck :/
>
> Thanks
>
> Alex
>
> _______________________________________________
> 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
_______________________________________________
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