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-18894 Hibernate 6.6 enum literal is considered field literal instead #9342

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

cigaly
Copy link
Contributor

@cigaly cigaly commented Nov 29, 2024

See Jira issue HHH-18894 and original post

Exception is thrown when enum constant is used as column in select if enum class is not referenced by any managed class.

Proposed solution is to treat non-managed class in equivalent way as are treated managed enum classes.


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.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Nov 29, 2024

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@cigaly cigaly changed the title HHH-18894 HHH-18894 Hibernate 6.6 enum literal is considered field literal instead Nov 29, 2024
@gavinking
Copy link
Member

Why should be reviewing this one? @beikov ?

@beikov beikov merged commit 816b29d into hibernate:main Dec 11, 2024
22 of 23 checks passed
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.

3 participants