Using an @Embeddable with a @generated field causes the following error : org.hibernate.tuple.entity.CompositeValueGenerationException: Property of on-execution generated embeddable is not generated: child.prop1 Using the following code :
Hibernate seems to be expecting all attributes (or none) to be @generated. This used to work on previous versions (tested OK on 6.1.7). |