The @GeneratedValue annotation is not supported inside {{@EmbeddedId}}s. As per JPA spec:
The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped superclass in conjunction with the Id annotation.
Closing the issue. |