or(Criterion lhs,Criterion rhs)
引數說明:Criteria criteria = session.createCriteria(PersonForm.class); //定義Criteria物件 criteria.add(Restrictions.or(Restrictions.eq("knowledge","大專"), Restrictions.gt("workAge",5))); //定義查詢語句 list = criteria.list(); //執行查詢語句返回list集合