Skip to content

Commit

Permalink
Include scroll() in SharedEntityManagerCreator's queryTerminatingMethods
Browse files Browse the repository at this point in the history
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 a15f472)
  • Loading branch information
sbrannen committed Nov 26, 2023
1 parent 6fae3e1 commit 87730f7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 87730f7

Please sign in to comment.