criteria.addEqualTo("keyTeacher", teacherId);
criteria.addEqualTo("keyOrientationTeacher", teacherId);
    public Orientation readByTeacherIdAndOrientationType(Integer teacherId, OrientationType orientationType)            throws ExcepcaoPersistencia {        Criteria criteria = new Criteria();        criteria.addEqualTo("keyTeacher", teacherId);        criteria.addEqualTo("orientationType", new Integer(orientationType.getValue()));        return (Orientation) queryObject(Orientation.class, criteria);    }