Laurent Almeras (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOThkODE0MzNj...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16879?atlOrigin=eyJpIjoiOThkOD...
) HHH-16879 (
https://hibernate.atlassian.net/browse/HHH-16879?atlOrigin=eyJpIjoiOThkOD...
) Inconsistent @Parent behavior if cache is enabled (
https://hibernate.atlassian.net/browse/HHH-16879?atlOrigin=eyJpIjoiOThkOD...
)
Issue Type: Bug Affects Versions: 6.2.6 Assignee: Unassigned Components: hibernate-core
Created: 30/Jun/2023 09:28 AM Environment: java 11 / Linux / H2
(hibernate-test-case-templates) Priority: Major Reporter: Laurent Almeras (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
For a @Cacheable parent entity that embeds a child embeddable with a @Parent attribute,
the parent attribute is correctly initialized if cached is not enabled, and is null if
cache is enabled.
Worked in 5.6.15.
Broken with 6.0.2, 6.1.7, 6.2.6.
hibernate-test-case-templates use-case is coming.
(
https://hibernate.atlassian.net/browse/HHH-16879#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16879#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#100227- sha1:9e449c4 )