criteria.addEqualTo("day", day);
criteria.addEqualTo("dayDate", day.getTime());
    public List readByRoomAndWeek(String roomName, Calendar day) throws ExcepcaoPersistencia {        List list = new ArrayList();        day.add(Calendar.DATE, Calendar.MONDAY - day.get(Calendar.DAY_OF_WEEK));        for (int i = 0; i < 6; i++) {            Criteria criteria = new Criteria();            criteria.addEqualTo("day", day);            criteria.addEqualTo("associatedRoomOccupation.room.nome", roomName);            list.addAll(queryList(Exam.class, criteria));            day.add(Calendar.DATE, 1);        }        return list;    }