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.

Closes gh-31682
This commit is contained in:
Sam Brannen
2023-11-26 12:09:06 +01:00
parent 0785256b2f
commit a15f472898

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()