criteria.addEqualTo("degreeKey", degreeId);
criteria.addEqualTo("keyDegree", degreeId);
    public DegreeCurricularPlan readByNameAndDegree(String name, Integer degreeId, CurricularStage curricularStage)            throws ExcepcaoPersistencia {        Criteria criteria = new Criteria();        criteria.addEqualTo("name", name);        criteria.addEqualTo("degreeKey", degreeId);        criteria.addEqualTo("curricularStage", curricularStage);        return (DegreeCurricularPlan) queryObject(DegreeCurricularPlan.class, criteria);    }