docs: protected E uniqueResult(CriteriaQuery<E> criteriaQuery) throws HibernateException {
          return AbstractProducedQuery.uniqueElement(
              currentSession()
                  .createQuery(requireNonNull(criteriaQuery))
                  .getResultList()
          );
      }