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.

Closes gh-31682
  • Loading branch information
sbrannen committed Nov 26, 2023
1 parent 0785256 commit a15f472
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 a15f472

Please sign in to comment.