Return-Path: X-Original-To: apmail-tapestry-dev-archive@www.apache.org Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E8FE11624 for ; Wed, 14 May 2014 00:15:18 +0000 (UTC) Received: (qmail 19051 invoked by uid 500); 13 May 2014 15:15:18 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 18860 invoked by uid 500); 13 May 2014 15:15:18 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 18693 invoked by uid 99); 13 May 2014 15:15:18 -0000 Received: from Unknown (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2014 15:15:18 +0000 Date: Tue, 13 May 2014 15:15:18 +0000 (UTC) From: "Jochen Kemnade (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TAP5-902) GridDataSource does not allow performing less than 2 queries if returning results MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TAP5-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Kemnade updated TAP5-902: -------------------------------- Labels: (was: bulk-close-candidate) > GridDataSource does not allow performing less than 2 queries if returning results > --------------------------------------------------------------------------------- > > Key: TAP5-902 > URL: https://issues.apache.org/jira/browse/TAP5-902 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.1.0.5 > Reporter: Dan Adams > Assignee: Howard M. Lewis Ship > > By having getAvailableRows() and prepare() separate, any implementation is forced to perform 2 queries. Many systems allow getting the results of a query and the total count in one query so that you don't have to perform 2 queries. Getting around this requires some pretty gross hacks (unless you just don't use grid at all which is unfortunate). -- This message was sent by Atlassian JIRA (v6.2#6252)