Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-16854 (
https://hibernate.atlassian.net/browse/HHH-16854?atlOrigin=eyJpIjoiZWNlNW...
)
Re: With EmbeddedId having a generated value using GenerationType.IDENTITY does not have
the generated value after save (
https://hibernate.atlassian.net/browse/HHH-16854?atlOrigin=eyJpIjoiZWNlNW...
)
The @GeneratedValue annotation is not supported inside {{@EmbeddedId}}s. As per JPA spec (
https://jakarta.ee/specifications/persistence/3.1/jakarta-persistence-spe...
) :
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.
(
https://hibernate.atlassian.net/browse/HHH-16854#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16854#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100228- sha1:4a42edc )