code: @Override
    @Transactional(readOnly = true)
    public <T> T executeQueryFunction(QueryData queryData,
      final SqlGeneratorAndExtractor<QueryData, T> generator)
    {
      return executeQueryFunction(queryData, generator, generator);
    }
docs: query functions