From: <no...@at...> - 2005-05-30 13:59:24
|
The following comment has been added to this issue: Author: Shoaib Akhtar Created: Mon, 30 May 2005 8:57 AM Body: So finally using Criteria api we can get the row count. But when will this feature will be available for HQL ?. I dont think that it will be too difficult for such talented people. Maybe u can return the query in form of string and people can append select count(*) in start (I know this is not good solution at all). But what is see is that it is very easy to add inside the HQL implementtaion where u can get the count as well. Thanks and regards Shoaib Akhtar --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-474?page=comments#action_17982 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-474 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-474 Summary: adding Criteria.count() method Type: Patch Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Fix Fors: 3.0 beta 3 Versions: 2.1 2.1 rc1 Assignee: Gavin King Reporter: Chris Nelson Created: Sun, 16 Nov 2003 12:53 PM Updated: Mon, 30 May 2005 8:57 AM Description: Adds a count() method to the Criteria class that does a modified query to return the count without returning entire query. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |