crit.addEqualTo("curricularCourse.degreeCurricularPlanKey", degreeCurricularPlanId);
crit.addEqualTo("curricularCourse.keyDegreeCurricularPlan", degreeCurricularPlanId);
    public List readActiveCurricularCourseScopesByDegreeCurricularPlanId(            final Integer degreeCurricularPlanId) throws ExcepcaoPersistencia {        final Criteria crit = new Criteria();        crit.addEqualTo("curricularCourse.degreeCurricularPlanKey", degreeCurricularPlanId);        crit.addIsNull("end");        final List result = queryList(CurricularCourseScope.class, crit);        return result;    }