Skip to content
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

HHH-18933 the ordering of the class declaration in persistence.xml seems to affect the metamodel #9548

Open
wants to merge 3 commits into
base: 6.6
Choose a base branch
from

Conversation

cigaly
Copy link
Contributor

@cigaly cigaly commented Jan 3, 2025

Jira issue HHH-18933

Method org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl#orderAndFillHierarchy has not been properly ordering classes.

Fixing problem by adding method org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl#orderHierarchy and ordering classes before returning from orderAndFillHierarchy. Added method is equivalent to one that is (properly) ordering classes in main branch.


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.


@cigaly
Copy link
Contributor Author

cigaly commented Jan 15, 2025

Added additional test using classes from article Hibernate ORM 6.6 - Embeddable Inheritance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant