HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state

- checkstyle fix
This commit is contained in:
Steve Ebersole 2019-06-13 13:52:15 -05:00
parent 5d518cb673
commit 6d5f7dd77c
1 changed files with 2 additions and 1 deletions

View File

@ -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 );}