diff --git a/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java b/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java index 5a621733e406..e1f5f1c1e76d 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java @@ -202,7 +202,7 @@ public void resolveInstance(EntityDelayedFetchInitializerData data) { // Try to load a PersistentAttributeInterceptable. If we get one, we can add the lazy // field to the interceptor. If we don't get one, we load the entity by unique key. PersistentAttributeInterceptable persistentAttributeInterceptable = null; - if (getParent().isEntityInitializer() && isLazyByGraph( rowProcessingState )) { + if ( getParent().isEntityInitializer() && isLazyByGraph( rowProcessingState ) ) { final Object resolvedInstance = getParent().asEntityInitializer().getResolvedInstance( rowProcessingState ); persistentAttributeInterceptable =