As per the spec
The HAVING clause must specify search conditions over the grouping items or aggregate
functions that
apply to grouping items.
Same restriction as in SQL AFAIK
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972776#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...