You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/10/25 22:39:11 UTC

[jira] Created: (CAY-1130) Joint prefetching on to-many produces trimmed result with fetch limit

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.