Код: Выделить всё
@Query(value = STATIC_QUERY_STRING,
countQuery = STATIC_COUNT__QUERY_STRING
)
@QueryHints(value = {
@QueryHint(name = HINT_FETCH_SIZE, value = "" + Integer.MIN_VALUE),
@QueryHint(name = HINT_CACHEABLE, value = "false"),
@QueryHint(name = HINT_READONLY, value = "true")})
Stream search(@Param("searchDTO") SearchDto searchDto);
Код: Выделить всё
Caused by: org.springframework.orm.jpa.JpaSystemException: could not execute query using scroll; nested exception is org.hibernate.exception.GenericJDBCException: could not execute query using scroll Подробнее здесь: https://stackoverflow.com/questions/791 ... ry-streams