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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Oct 25 2008 - 16:39:11 EDT

  • Next message: Andrus Adamchik: "Re: cayenne-tutorial"

    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.
    



    This archive was generated by hypermail 2.0.0 : Sat Oct 25 2008 - 16:40:03 EDT