Gabriel Menezes commented on Bug HHH-3238

I just want to let you know we are facing the exact same problem, when we execute a query with more than one group by fiel in projections list, the number of result rows is incorrect.
I will try the workaround proposed by Serge, but would be better to have a official solution for this issue.

Another solution is to use Hibernate Views, forcing the hibernate to count the row number using a subquery like: select count from (select ... )

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: