cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <>
Subject [jira] [Closed] (CAY-1875) PrefetchSelectQuery incorrectly applies entity qualifiers
Date Fri, 27 Sep 2013 14:26:02 GMT


Mike Kienenberger closed CAY-1875.

    Resolution: Invalid

After a great deal of testing and investigation, I have discovered that QualifierTranslator.extractQualifier()
is where the prefetch root qualifier is added to the query.

After removing all other query modification, the STABLE-3.1 branch correctly is building prefetch
queries.   So the error must have been in my own restricting qualifier code conflicting with
the qualifier code support already available in Cayenne 3.1.  Closing this as invalid.

> PrefetchSelectQuery incorrectly applies entity qualifiers
> ---------------------------------------------------------
>                 Key: CAY-1875
>                 URL:
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.1B2
>            Reporter: Mike Kienenberger
> The modeler's entity qualifier isn't applied to prefetch queries.
> Andrus:
> > This is bad and is not supposed to happen. Appears to be a bug. I am checking
> > SelectQueryPrefetchRouterAction, and it applies *root* entity qualifier to prefetch
query instead of
> > prefetched entity. Should be a relatively easy fix for "disjoint" prefetches at

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message