Description
In a situation when a query qualifier contains an outer join hint for a flattened relationship, Cayenne correctly generates a pair of OUTER joins in the root query SQL. However all disjoint prefetch queries are only using OUTER for the first join, and INNER for the second. This causes subtle issues, such as prefetch queries returning a trucated result (when a root object doesn't have anything on the target side of OUTER relationship).