[ 
https://issues.apache.org/jira/browse/TAP5-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799543#action_12799543
 ] 

Howard M. Lewis Ship commented on TAP5-902:
-------------------------------------------

This may be possible by changing some of the semantics of the GDS interface; 
i.e., prepare() called before getAvailableRows().

> 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
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to