I don't think this is the right forum for EJBQL questions, but have you tried something like this?
| select u from User u where size(u.communities) = 0 | Take a look at http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123858#4123858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123858 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
