Hi Carlos,

On Sunday 05 October 2003 14:37, carlos wrote:
> broker.getCollectionByQuery(): Optimised prefetched relationships are only
> useful if object caching is enabled.
>
> Also, using the default cache, it appears that any related objects obtained
> by an optimised SQL IN() clause may be 'garbage collected' before being
> assigned to the 'owning object', causing another database lookup at
> assigment.  I believe I've observed this behaviour retrieving many objects
> (2000+) - Is this correct?
Looking at the ReferencePrefetcher implememntation, I see that this is 
possible for references (not for collections). Also I see that this problem 
can be easily fixed. I'll do this.

Thanks,
 Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to