HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state
- checkstyle fix
This commit is contained in:
parent
5d518cb673
commit
6d5f7dd77c
|
@ -1152,7 +1152,8 @@ public final class SessionImpl
|
|||
LoadEvent event = loadEvent;
|
||||
loadEvent = null;
|
||||
event = recycleEventInstance( event, id, entityName );
|
||||
event.setShouldUnwrapProxy( unwrapProxy );fireLoad( event, type );
|
||||
event.setShouldUnwrapProxy( unwrapProxy );
|
||||
fireLoad( event, type );
|
||||
Object result = event.getResult();
|
||||
if ( !nullable ) {
|
||||
UnresolvableObjectException.throwIfNull( result, id, entityName );}
|
||||
|
|
Loading…
Reference in New Issue