Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNWU0NTMyMzVm...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16669?atlOrigin=eyJpIjoiNWU0NT...
) HHH-16669 (
https://hibernate.atlassian.net/browse/HHH-16669?atlOrigin=eyJpIjoiNWU0NT...
) Batch loading prevents throwing ObjectNotFoundException on initialization of
non-existent enhanced entity (
https://hibernate.atlassian.net/browse/HHH-16669?atlOrigin=eyJpIjoiNWU0NT...
)
Issue Type: Bug Affects Versions: 6.2.3 Assignee: Andrea Boriero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Created: 22/May/2023 07:50 AM Priority: Critical Reporter: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
A load via `getReference` on a non-existent object should eventually lead to an
ObjectNotFoundException when such object’s initializer is triggered.
This isn’t currently happening in version 6.2.3.Final when batch loading is enabled: the
read properties are reported as “null” and no exception is being thrown.
(
https://hibernate.atlassian.net/browse/HHH-16669#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16669#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:bbd69a1 )