Skip to content

HHH-20634 Fix method based properties#12943

Merged
beikov merged 2 commits into
hibernate:mainfrom
marschall:HHH-20634
Jul 1, 2026
Merged

HHH-20634 Fix method based properties#12943
beikov merged 2 commits into
hibernate:mainfrom
marschall:HHH-20634

Conversation

@marschall

@marschall marschall commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Fix the lookup of properties when method based access is used. This makes @GeneratedValue on methods of embedded ids work again.


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.



Please make sure that the following tasks are completed:
Tasks specific to HHH-20634 (Bug):

  • Add test reproducing the bug
  • Add entries as relevant to migration-guide.adoc OR check there are no breaking changes

https://hibernate.atlassian.net/browse/HHH-20634

@marko-bekhta marko-bekhta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch!

@beikov
beikov merged commit 2708e62 into hibernate:main Jul 1, 2026
27 of 31 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