kubele
04/14/2023, 6:04 PMUnsupported compile-time value BLOCK type=javax.persistence.QueryHint origin=ARGUMENTS_REORDERING_FOR_CALL
Is there any easy fix for that?dmitriy.novozhilov
04/14/2023, 6:15 PMkubele
04/14/2023, 6:17 PMinterface Repository : JpaSpecificationExecutor<Entity> {
@QueryHints(value = [QueryHint(name = FETCH_SIZE, value = "1000"), QueryHint(name = READ_ONLY, value = "true")])
@EntityGraph(attributePaths = ["attribute1", "attribute2"])
fun streamAllByValidToIsGreaterThanEqual(today: LocalDate): Stream<Entity>
}
dmitriy.novozhilov
04/14/2023, 6:19 PMkubele
04/14/2023, 6:19 PMdmitriy.novozhilov
04/14/2023, 6:20 PM