[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1538) aggregations functions in EJBQL queries does not return the appropriate types