If you're asking for the JPA IN
syntax you would do this:
SELECT e FROM Employees e where e.employee_no IN :employeelist
as well ass
query.setParameter( "employeelist" , yourlist );
and of course build yourlist
accordingly. If you don't really need to parameterize the inner queries, you can disregard this and just go the straight forward route.
Cheers,