From the [ forum |https : //forum.hibernate.org/viewtopic.php?f=31&t=1033703]:
{ quote} { code} @NamedQuery(name = "blog_entry_count", query = "select count(be) from BlogEntry be") {code}
When the blog_entry_count query is exequted, the result is of BlogEntry type. I would expect it to be a number in this case. Does ogm supports aggregate functions and count() in particular in HQL? {quote}
|