Hello,
Does EJB-QL support inner queries? Like:

SELECT OBJECT(e)
FROM Employee e
WHERE e.salary = (Select max(e2.Salary) from Employee e2)

Thanks!

Luiz