criteria.addEqualTo("keyTeacher", teacherID);
criteria.addEqualTo("keyOrientationTeacher", teacherID);
    public Professorship readByTeacherAndExecutionCourse(Integer teacherID, Integer executionCourseID)            throws ExcepcaoPersistencia {        Criteria criteria = new Criteria();        criteria.addEqualTo("keyTeacher", teacherID);        criteria.addEqualTo("keyExecutionCourse", executionCourseID);        return (Professorship) queryObject(Professorship.class, criteria);    }