Skip to content

Commit

Permalink
Update hibernate-core/src/main/java/org/hibernate/sql/results/graph/e…
Browse files Browse the repository at this point in the history
…ntity/internal/EntityDelayedFetchInitializer.java

Co-authored-by: Marco Belladelli <[email protected]>
  • Loading branch information
jimsimon-wk and mbladel authored Jan 16, 2025
1 parent 939ed33 commit cc50bcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit cc50bcb

Please sign in to comment.