-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-18858 array fields and static metamodel #9360
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
Conversation
…ementCollection should be represented with ListAttribute, not SingularAttribute
|
Oh, sorry, it's me who got mixed up. Sorry. |
gavinking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can I merge it if the tests succeed?
|
Yes, of course. [I'll remove draft status when tests are finished] |
|
Thanks so much @cigaly! By the way, I was trying to contact you on Zulip.... |
|
... and you did not found me 'cause I have not been registered. I guess that now you can. |
Jira issue HHH-18858
When array property is annotated with one of
@ManyToMany,@OneToMany, or@ElementCollection, field in generated meta model class should be of typejakarta.persistence.metamodel.ListAttribute, currently isjakarta.persistence.metamodel.SingularAttribute.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-18868