Hello,
I recently submitted an issue on that topic here but maybe I should have asked about it here first.
Code and test case are in the link above.
The issue is that hibernate raises an error when an @Entity
contains an @Embeddable
with multiple attributes but only one being annotated with @Generated
:
org.hibernate.tuple.entity.CompositeValueGenerationException: Property of on-execution generated embeddable is not generated: xx.xx
Is that the expected behaviour now or am I missing something ?
We recently upgraded to hibernate 6.1.7 and it used to work on previous versions.