Skip to content

Commit

Permalink
HHH-11147 - Allow enhanced entities to be returned in a completely un…
Browse files Browse the repository at this point in the history
…initialized state

    - checkstyle fix
  • Loading branch information
sebersole committed Jun 13, 2019
1 parent 5d518cb commit 6d5f7dd
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -1152,7 +1152,8 @@ public final Object internalLoad(
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 );}
Expand Down

0 comments on commit 6d5f7dd

Please sign in to comment.