[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3629) Really need Criteria.count / Query.count...(This must NOT be a duplicate)

Azuo Lee (JIRA) noreply at atlassian.com
Wed Dec 3 05:31:15 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31859#action_31859 ] 

Azuo Lee commented on HHH-3629:
-------------------------------

What's the hibernate way to count number of results should be returned by the following query:

select cat.mother, cat.sex, max(cat.weight) from Cat cat group by cat.mother, cat.sex

(There may be millions of cats)

> Really need Criteria.count / Query.count...(This must NOT be a duplicate)
> -------------------------------------------------------------------------
>
>                 Key: HHH-3629
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3629
>             Project: Hibernate Core
>          Issue Type: New Feature
>            Reporter: Azuo Lee
>
> What's the hibernate way to count number of results returned by the following query:
> select cat.mother, cat.sex, max(cat.weight) from Cat cat group by cat.mother, cat.sex

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list