criteria.addEqualTo("degreeKey", degreeId);
criteria.addEqualTo("keyDegree", degreeId);
    public List readDegreeInfoByDegreeAndExecutionYear(Integer degreeId, Date beginDate, Date endDate)            throws ExcepcaoPersistencia {        Criteria criteria = new Criteria();        criteria.addEqualTo("degreeKey", degreeId);        criteria.addBetween("lastModificationDate", beginDate, endDate);        return queryList(DegreeInfo.class, criteria);    }