introduce StatementOrTypedQuery and withResultSetMapping()#920
Merged
gavinking merged 6 commits intojakartaee:mainfrom Feb 26, 2026
Merged
introduce StatementOrTypedQuery and withResultSetMapping()#920gavinking merged 6 commits intojakartaee:mainfrom
gavinking merged 6 commits intojakartaee:mainfrom
Conversation
6aea0e7 to
3154c19
Compare
Member
Author
|
I've also removed the |
26d7df9 to
f4645f3
Compare
sebersole
reviewed
Feb 26, 2026
Contributor
sebersole
left a comment
There was a problem hiding this comment.
Suggested a minor improvement. Might add similar @see tags to Statement as well.
| * {@link EntityManager#find(EntityGraph, Object, FindOption...)}, | ||
| * {@link EntityManager#get(EntityGraph, Object, FindOption...)}, | ||
| * or {@link TypedQuery#setEntityGraph(EntityGraph)} is | ||
| * {@link EntityHandler#createQuery(String, EntityGraph)}, or |
as requested by @sebersole - with the purpose of making the interpretation of the query fixed after construction of the TypedQuery, which is good for performance (we now have other ways to specify an EntityGraph for a query)
after reflection + discussions with @sebersole
Co-authored-by: Steve Ebersole <steve@hibernate.org>
f39e8af to
e49cefd
Compare
Member
Author
|
Thanks, @sebersole, I've committed your suggestion, and now I'm going to merge this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #919