Re: way too many SELECTs?
Re: way too many SELECTs?
- Subject: Re: way too many SELECTs?
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 16 Feb 2015 11:40:44 -0700
If you haven’t, you should probably read:
https://developer.apple.com/legacy/library/documentation/WebObjects/Enterprise_Objects/About/About.html
And this (ignoring the fact that it’s about EOModeler which doesn’t exist anymore):
https://developer.apple.com/legacy/library/documentation/WebObjects/UsingEOModeler/Introduction/Introduction.html
On Feb 16, 2015, at 11:28 AM, OC <email@hidden> wrote:
> Ramsey,
>
> On 16. 2. 2015, at 18:24, Ramsey Gurley <email@hidden> wrote:
>> In your model, you have A<->>B? Did you know whenever you create a new B, you fetch all B related to A as a result? It goes like this. New B, setARelationship() on B, that calls addObjectToBothSides, which fetches all of A’s b() to insert the single new B into it.
>
> Darn -- this is the normal EOF behaviour?!?
>
> For the last week, I am trying to find the bug in my code which causes those superfluous fetches :-O
>
> Thanks a lot,
> OC
>
_______________________________________________
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