Use JPQL queries for ManagerSession.