code: @SuppressWarnings("unchecked")
      protected List<E> list(Criteria criteria) throws HibernateException {
          return requireNonNull(criteria).list();
      }
docs: Get the results of a {@link Criteria} query.
  
  @param criteria the {@link Criteria} query to run
  @return the list of matched query results
  @see Criteria#list()