-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Query
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
HIBERNATE-239 added `COUNT`, `SUM`, `AVG`, `MIN` and `MAX`, but only for queries that also have a
GROUP BY clause. An aggregate over the whole collection is refused:
SELECT count
FROM Item
SELECT sum(b.primitiveInt) FROM Item b WHERE b.primitiveInt > 1
Let's add a support for aggregate functions
- is related to
-
HIBERNATE-239 Support aggregate functions in SELECT and HAVING
-
- Closed
-