collection-valued-path-expression IS [NOT] EMPTY
Example: Empty collection predicate
To find all departments with no employees:
SELECT OBJECT(d) FROM DeptBean d WHERE d.emps IS EMPTY
Related concepts
EJB query language
WHERE clause
Related tasks
Using EJB query