-
Notifications
You must be signed in to change notification settings - Fork 11
implement loading by primary key #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
NathanQingyangXu
merged 38 commits into
mongodb:main
from
NathanQingyangXu:HIBERNATE-22-load-translation-new
Mar 26, 2025
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9cb4599
implement loading by primary key
NathanQingyangXu e646199
add testing case to cover AstMatchesEverythingFilter in AstAggregateC…
NathanQingyangXu fcf5e76
add unit testing case to verify affectedTableNames content
NathanQingyangXu e4445b3
Update src/integrationTest/java/com/mongodb/hibernate/BasicCrudIntegr…
NathanQingyangXu 6d0985a
use get() instead of load() in loading by primary key testing case
NathanQingyangXu 6837cdc
improve as per code review comments
NathanQingyangXu 4f10cd6
use boolean bson type for AstProjectStageSpecification.include()
NathanQingyangXu 2f2dd02
move AstMatchesEverythingFilterTests to its own testing case
NathanQingyangXu 064046f
reinstate the `stage` package; improve SelectStatementMqlTranslatorTests
NathanQingyangXu f4d641a
change per code review comments
NathanQingyangXu bbc7655
add more mongo AST rendering tests
NathanQingyangXu e26b1a4
Merge branch 'main' into HIBERNATE-22-load-translation-new
NathanQingyangXu 9a15a74
resolve conflict with main branch
NathanQingyangXu d266dd7
Update src/main/java/com/mongodb/hibernate/internal/translate/Abstrac…
NathanQingyangXu 1040ff3
rename columnName variable to fieldPath in AbstractMqlTranslator#visi…
NathanQingyangXu 5724937
remove unnecessary AstMatchesEverythingFilter
NathanQingyangXu 6e14c1b
add logic to throw FeatureNotSupportedException in event of jdbcParam…
NathanQingyangXu 2a3ccf2
add validation to SelectStatementMqlTranslator#translate()'s two para…
NathanQingyangXu 21b832d
get rid of usage of internal fastSessionServices; keep from exposing mql
NathanQingyangXu 31268bf
improve SelectStatementMqlTranslatorTests to make the table group mor…
NathanQingyangXu 8381eab
remove stage package
NathanQingyangXu 9b15ee8
Merge branch 'main' into HIBERNATE-22-load-translation-new
NathanQingyangXu 1fb7049
Merge branch 'main' into HIBERNATE-22-load-translation-new
NathanQingyangXu d4bf619
Merge remote-tracking branch 'origin/HIBERNATE-22-load-translation-ne…
NathanQingyangXu cd59077
rename translators as per factory method names
NathanQingyangXu a5f72d3
refactor AstProjectStageSpecification to align with existing pattern
NathanQingyangXu 15f56bf
add QueryOptions assertion logic to both ModelMutationMqlTranslator a…
NathanQingyangXu 4fca70d
revert back nullness checking in AbstractMqlTranslator#visitStandardT…
NathanQingyangXu bf02e2d
Update src/test/java/com/mongodb/hibernate/internal/translate/mongoas…
NathanQingyangXu 8f834b2
move logSqlAst to SelectMqlTranslator#translate() method
NathanQingyangXu 6fa73e1
add validation of QuerySpec#hasOffsetOrFetchClause() in AbstractMqlTr…
NathanQingyangXu 2c26854
add validation of SelectClause#isDistinct() in AbstractMqlTranslator#…
NathanQingyangXu d1e68a1
simplify AbstractMqlTranslator#checkQueryOptionsSupportability by usi…
NathanQingyangXu e7c6c80
improve AstProjectStageIncludeSpecificationTests by introducing AstNo…
NathanQingyangXu 4a165c6
some changes per code review comments
NathanQingyangXu 8303e6d
further changes per code review comments
NathanQingyangXu c779cfd
rename 'fieldPath' variable to 'fielld' in AbstractMqlTranslator#visi…
NathanQingyangXu 59ec005
Merge branch 'main' into HIBERNATE-22-load-translation-new
NathanQingyangXu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.