Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYTAwYTkyM2Rm...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15540?atlOrigin=eyJpIjoiYTAwYT...
) HHH-15540 (
https://hibernate.atlassian.net/browse/HHH-15540?atlOrigin=eyJpIjoiYTAwYT...
) Create tombstone cache entries for one-to-one associations (
https://hibernate.atlassian.net/browse/HHH-15540?atlOrigin=eyJpIjoiYTAwYT...
)
Issue Type: Improvement Assignee: Unassigned Components: hibernate-core Created:
22/Sep/2022 01:49 AM Priority: Major Reporter: Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Since
https://hibernate.atlassian.net/browse/HHH-14216 (
https://hibernate.atlassian.net/browse/HHH-14216 ) will be or already was reverted, a load
of an entity with a mappedBy one-to-one association will hit the database instead of the
cache, when the association is null. The absence of an entry in the cache is interpreted
as “not cached”. What we need though, is a cache entry that represents “nothing there”, so
we don’t have to hit the database.
(
https://hibernate.atlassian.net/browse/HHH-15540#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15540#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#100207- sha1:a65942b )