I'd like to make a criteria query with 3 OR Criterions and I dont know what is the best way to do it.
Currently I only have 2 or Restrictions.
Criteria crit = session.createCriteria(Reader.class)
.add(Restrictions.or(Restrictions.like(PUBLICATION_ID_FIELD, "Question",MatchMode.END), Restrictions.like(PUBLICATION_ID_FIELD, "Idea",MatchMode.END)));
How can I add a third one ?