From 6d5f7dd77cd8fad0ab7d5153913419b2a1064f02 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 13 Jun 2019 13:52:15 -0500 Subject: [PATCH] HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state - checkstyle fix --- .../src/main/java/org/hibernate/internal/SessionImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java index a7f997a0c2..f883610300 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java @@ -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 );}