Moved JPQL queries servicing pipelines from facade to DAO.