crit.addEqualTo("curricularCourseKey", curricularCourseId);
crit.addEqualTo("keyCurricularCourse", curricularCourseId);
    public List readActiveCurricularCourseScopesByCurricularCourse(Integer curricularCourseId)            throws ExcepcaoPersistencia {        Criteria crit = new Criteria();        crit.addEqualTo("curricularCourseKey", curricularCourseId);        crit.addIsNull("end");        List result = queryList(CurricularCourseScope.class, crit);        return result;    }