<< Back to previous view

[NUCRDBMS-39] Support "count" query for obtaining size of JDOQL results for large result sets Created: 01/Aug/08  Updated: 22/Sep/08  Resolved: 01/Aug/08

Status: Closed
Project: DataNucleus Store RDBMS
Component/s: Queries
Affects Version/s: None
Fix Version/s: 1.0.0.m4

Type: New Feature Priority: Major
Reporter: Andy Jefferson Assignee: Andy Jefferson
Resolution: Fixed Votes: 0


 Description   
When we have a large result set, it would be beneficial to allow a query
SELECT count(this) FROM ...
to get the number of results for a query. Saves loading up instances

 Comments   
Comment by Andy Jefferson [ 01/Aug/08 07:56 AM ]
SVN trunk supports query extension "datanucleus.query.resultSizeMethod" value of "count" and will perform a count() query to get the size rather than navigating to the last object (and instantiating all in the process!)
Generated at Fri Sep 19 09:49:22 CEST 2014 using JIRA 4.0#466.