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-19195 [6.6] Embeddable inheritance: discriminator values are not hierarchically orderedHhh 19195 6.6 #9786

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

Conversation

cigaly
Copy link
Contributor

@cigaly cigaly commented Feb 22, 2025

Jira issue HHH-19195

To preserve hierarchical ordering of discriminator values LinkedHashMap should be used instead of TreeMap


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.


          While collecting they are inserted in proper order, but TreeMap will
          not preserver ordering, but sort them alphabetically by names.
          To keep values order LinkedHashMap should be used instead of TreeMap.
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