You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (JIRA)" <ji...@apache.org> on 2015/06/03 22:59:40 UTC

[jira] [Created] (CAY-2015) Joint prefetches combined with DisjointById prefetches return null incorrectly

John Huss created CAY-2015:
------------------------------

             Summary: Joint prefetches combined with DisjointById prefetches return null incorrectly
                 Key: CAY-2015
                 URL: https://issues.apache.org/jira/browse/CAY-2015
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.0.M2
            Reporter: John Huss
            Assignee: Andrus Adamchik
         Attachments: 0001-Add-test-showing-prefetch-failure.patch

If you add both a joint prefetch and a disjointById prefetch to a query, then the relationship supplied by the disjointById will always be NULL incorrectly.  

This should be high priority since it silently produces invalid results.

A patch with a minimal test case is attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)