> On Apr 7, 2004, at 11:44 AM, Mike Kienenberger wrote:
> > Right now, I can't use prefetching
> > because I've been unable to implement restricting qualifiers via
> > DataContext
> > delegation in such a way that they work with prefetching.
Andrus Adamchik <andru..bjectstyle.org> wrote:
> So doing "query.setQualifier(query.getQualifier().andExp(myQual))"
> doesn't work? Strange...
>
> Actually great that you brought up prefetching. I haven't tested this
> yet with prefetching scenarios, and I suspect it wouldn't work well. I
> will work on testing/fixing that.
I can't remember the specifics as it's been a few months, but I think I was
unable to determine the root entity for building the correct myQual. Or
maybe it always found the root entity of the initial query, but not of the
prefetching part of the query.
Wasn't worth pursuing at the time, and probably isn't now either :)
-Mike
This archive was generated by hypermail 2.0.0 : Wed Apr 07 2004 - 12:07:13 EDT