entity with multiple of same embedded type #31440
Merged
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.
Received confirmation from the JPA team that EclipseLink does not intend to support multiple of the same embedded type under and entity without overrides, despite the unusual error that we see out of EclipseLink running invalid SQL against the database rather than raising an appropriate message for unsupported. The JPA team will look into improving that on the EclipseLink side. This PR will make the workaround of using attribute overrides official in the test because that is considered by EclipseLink to be the required way to do it, not a workaround.
Adding fixes #29459 to make github close that issue upon closing this PR.
release buglabel if applicable: https://github.com/OpenLiberty/open-liberty/wiki/Open-Liberty-Conventions).