Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 49344 invoked from network); 21 Mar 2007 16:24:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 16:24:56 -0000 Received: (qmail 95199 invoked by uid 500); 21 Mar 2007 16:25:01 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 95145 invoked by uid 500); 21 Mar 2007 16:25:01 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 95091 invoked by uid 99); 21 Mar 2007 16:25:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 09:25:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 09:24:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D098A71407D for ; Wed, 21 Mar 2007 09:24:32 -0700 (PDT) Message-ID: <20556579.1174494272850.JavaMail.jira@brutus> Date: Wed, 21 Mar 2007 09:24:32 -0700 (PDT) From: "Abe White (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Commented: (OPENJPA-175) Eager selects by PagingResultObjectProvider may not use the FetchBatchSize In-Reply-To: <14425265.1174348652125.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482821 ] Abe White commented on OPENJPA-175: ----------------------------------- I'll have to see the code in context once it's checked in because I'm not very good at reading patches, but it looks good to me. > Eager selects by PagingResultObjectProvider may not use the FetchBatchSize > -------------------------------------------------------------------------- > > Key: OPENJPA-175 > URL: https://issues.apache.org/jira/browse/OPENJPA-175 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 0.9.0, 0.9.6 > Reporter: Srinivasa > Attachments: OPENJPA-175-patch.txt, OPENJPA-175-patch.txt > > > The PagingResultObjectProvider during initialization does checks to determine the appropriate pageSize. While this logic caps the size to 50 and addresses determining an appropriate page size, it doesn't always conform to the set batch size. For example with the size being 1000 and FetchBatchSize set to say 500, the page size is determined to be 50 resulting in eager selects happening in batches of 50 when the user expects it to be in batches of 500. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.