The "*" is a Hibernate HQL extension to JPA QL. I wouldn't use it because,
as you figured out, it depends on the other projected attributes in the query and how that
is grouped. The issue is that we can't really provide a generic count-query without
the "*" in the Seam framework. So this is a catch 22...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067234#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...