Skip to content

introduce FetchMapping#959

Draft
gavinking wants to merge 4 commits into
jakartaee:mainfrom
gavinking:association-mapping
Draft

introduce FetchMapping#959
gavinking wants to merge 4 commits into
jakartaee:mainfrom
gavinking:association-mapping

Conversation

@gavinking

Copy link
Copy Markdown
Member

Fixes #928.

Looking for feedback.

@gavinking gavinking mentioned this pull request Feb 21, 2026
@gavinking gavinking added the candidate-for-4 Good candidate for JPA 4 label Feb 21, 2026
@sebersole

Copy link
Copy Markdown
Contributor

So just don't support fetching element-collection?

@gavinking

gavinking commented Feb 24, 2026

Copy link
Copy Markdown
Member Author

So just don't support fetching element-collection?

Correct. To add support for @ElementCollection we would need to introduce a new supertype of EntityMapping, ColumnMapping, and maybe EmbeddableMapping. I have experimented with that locally and ... well, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

candidate-for-4 Good candidate for JPA 4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New MemberMapping

2 participants