import org.hibernate.criterion.Restrictions; import org.hibernate.Criteria; Criteria criteria = session.createCriteria(Product.class); criteria.add(Restrictions.disjunction() .add(Restrictions.gt("price", 100)) .add(Restrictions.gt("stock", 0))); ListHere, we first create a Criteria object for the `Product` class, and then specify the conditions using the Restrictions.disjunction() method. We add two Criterion objects to the disjunction, one for price greater than 100 and another for stock greater than zero. Finally, we retrieve the results by querying the database using the `criteria.list()` method. The package library for the `org.hibernate.criterion` class is Hibernate Core.products = criteria.list();