ExportXMLWordPrintableJSON

    • 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 

            Assignee:
            Almas Abdrazak
            Reporter:
            Almas Abdrazak
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: