Joint prefetching on to-many produces trimmed result with fetch limit
---------------------------------------------------------------------

                 Key: CAY-1130
                 URL: https://issues.apache.org/cayenne/browse/CAY-1130
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne Core Library
    Affects Versions: 3.0
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.0


when testing for CAY-1025 (switching default prefetching to joint prefetches), 
I realized that it won't work when the query uses fetch limit and to-many 
relationship is prefetched. The result is trimmed as Cayenne adds a LIMIT 
clause. Need to test both scenarious - select with a LIMIT SQL clause and in 
memory LimitResultIterator

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to