Note: EntityQuery requires JPA, so if you're just using plain Hibernate (like me) you might be out of luck :(. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112975#4112975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112975