-
Notifications
You must be signed in to change notification settings - Fork 11
Support arrays/collections mapping #95
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
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
221ec3d
HIBERNATE-58
stIncMale 4ed1ce7
Remove custom array-handling code
stIncMale c4986fa
Hack-in `null` support to how the tests behave
stIncMale 01a7365
Undo "Hack-in `null` support to how the tests behave"
stIncMale 78d8892
Do changes identified during the code walkthrough
stIncMale 2e9088a
Merge branch 'main' into HIBERNATE-58
stIncMale c13fda9
Get rid of the custom primitive types and arrays of them
stIncMale 179f451
Simplify the invocation of `addDescriptorIfAbsent`
stIncMale 68bea86
Remove the unused `ValueConversions.toCharDomainValue` method
stIncMale 0b76dd3
Simplify `ValueConversions.toDomainValue(BsonString value)`
stIncMale f0899ef
Fix copyright comments
stIncMale 1573746
Require presence of insertable columns in structs, which is stricter …
stIncMale 8499612
Use `var` where possible
stIncMale 1ca8201
Use `var` where possible
stIncMale 865cf7e
Rename the parameter of the `assertCollectionContainsExactly` method
stIncMale dbb00b9
Update the code comment about Hibernate ORM reading `null` instead of…
stIncMale ed6fb2c
Replace bulky `instanceof` casts&assertions with a new more compact `…
stIncMale 6de1bfe
`ValueConversions.toDomainValue` can never get `null` `value`
stIncMale 20f8e83
Move setup methods to the top of test classes
stIncMale ec24448
Support missing fields in structs
stIncMale 2998250
Use `var`
stIncMale 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
773 changes: 773 additions & 0 deletions
773
src/integrationTest/java/com/mongodb/hibernate/ArrayAndCollectionIntegrationTests.java
Large diffs are not rendered by default.
Oops, something went wrong.
403 changes: 293 additions & 110 deletions
403
src/integrationTest/java/com/mongodb/hibernate/BasicCrudIntegrationTests.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
590 changes: 549 additions & 41 deletions
590
src/integrationTest/java/com/mongodb/hibernate/embeddable/EmbeddableIntegrationTests.java
Large diffs are not rendered by default.
Oops, something went wrong.
636 changes: 569 additions & 67 deletions
636
...Test/java/com/mongodb/hibernate/embeddable/StructAggregateEmbeddableIntegrationTests.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.