Include scroll() in SharedEntityManagerCreator's queryTerminatingMethods

This commit supports the scroll() and scroll(ScrollMode) methods from
Hibernate's Query API in SharedEntityManagerCreator's query-terminating
methods set.

See gh-31682
Closes gh-31683

(cherry picked from commit a15f472898)
This commit is contained in:
Sam Brannen
2023-11-26 12:09:06 +01:00
parent 6fae3e150e
commit 87730f76b1

View File

@@ -88,6 +88,7 @@ public abstract class SharedEntityManagerCreator {
"getResultStream", // jakarta.persistence.Query.getResultStream()
"getResultList", // jakarta.persistence.Query.getResultList()
"list", // org.hibernate.query.Query.list()
"scroll", // org.hibernate.query.Query.scroll()
"stream", // org.hibernate.query.Query.stream()
"uniqueResult", // org.hibernate.query.Query.uniqueResult()
"uniqueResultOptional" // org.hibernate.query.Query.uniqueResultOptional()