code: protected List<E> list(CriteriaQuery<E> criteria) throws HibernateException {
          return currentSession().createQuery(requireNonNull(criteria)).getResultList();
      }
docs: Get the results of a {@link CriteriaQuery} query.
  
  @param criteria the {@link CriteriaQuery} query to run
  @return the list of matched query results