Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZjY4YTRmZmMw...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16600?atlOrigin=eyJpIjoiZjY4YT...
) HHH-16600 (
https://hibernate.atlassian.net/browse/HHH-16600?atlOrigin=eyJpIjoiZjY4YT...
) @Basic(optional=false) on embeddable held by subclass in single table inheritance (
https://hibernate.atlassian.net/browse/HHH-16600?atlOrigin=eyJpIjoiZjY4YT...
)
Issue Type: Bug Assignee: Unassigned Components: hibernate-core Created: 15/May/2023 00:59
AM Priority: Major Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
If I have a subclass entity in a single table inheritance hierarchy, and it has an
embeddable with an attribute annotated @Basic(optional=false) , then optional=false should
not lead to a not null constraint.
It should still result in a constraint in all other inheritance mappings.
(
https://hibernate.atlassian.net/browse/HHH-16600#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16600#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#100225- sha1:a5851ae )