Try to play with Count() aggregate function.
For example
"from ObjectA o where COUNT(o.list) >=:param"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231081#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...