Criteria criteria = session.createCriteria(Person.class); criteria.add(Restrictions.lt("age", 18)); ListIn this example, we create a criteria object for the Person class and add a restriction using the lt() method to filter the results by the "age" field being less than 18. We then retrieve the result set using the list() method. The org.hibernate.criterion package contains classes and interfaces that define criteria queries in Hibernate.minors = criteria.list();