You can also look at the following StackOverflow question : https://stackoverflow.com/questions/6369113/hibernate-assumes-arguments-in-hql-query-where-there-are-none