Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 41012 invoked from network); 20 Mar 2007 00:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2007 00:06:53 -0000 Received: (qmail 74977 invoked by uid 500); 20 Mar 2007 00:07:01 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 74899 invoked by uid 500); 20 Mar 2007 00:07: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 74890 invoked by uid 99); 20 Mar 2007 00:07:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 17:07: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; Mon, 19 Mar 2007 17:06:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7478D714058 for ; Mon, 19 Mar 2007 17:06:32 -0700 (PDT) Message-ID: <218291.1174349192176.JavaMail.jira@brutus> Date: Mon, 19 Mar 2007 17:06:32 -0700 (PDT) From: "Srinivasa Segu (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Srinivasa Segu updated OPENJPA-175: ----------------------------------- Attachment: OPENJPA-175-patch.txt > 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 Segu > Attachments: 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.