From: <no...@at...> - 2005-05-31 07:34:27
|
The following comment has been added to this issue: Author: Shoaib Akhtar Created: Tue, 31 May 2005 2:33 AM Body: Hi, Great work hibernate Team to fix this issue in Hibernate3 Criteria API. But still this is not resolved in Query API (HQL). It is usually very cubersome while making queries dynamically also Hibernate does not return the query as stringf so ppl can append select count(*) in start toi get count easily and due to usage of named parameters (not qury as string) we have to made the query twic once for count and one for results so it would be great if you ppl can add it to HQL as well. Regards, Shoaib Akhtar --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-474?page=comments#action_17998 --------------------------------------------------------------------- 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: Tue, 31 May 2005 2:33 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 |