Skip to content

Commit

Permalink
HHH-15666 When a reference entry is found in the Second Level Cache t…
Browse files Browse the repository at this point in the history
…here is not need to set its values
  • Loading branch information
dreab8 committed Nov 4, 2022
1 parent 865f28a commit 28b2535
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,8 @@ private Object resolveInstance(

if ( instance != null ) {
// EARLY EXIT!!!
// because the second level cache has reference cache entries, the entity is initialized
isInitialized = true;
return instance;
}
}
Expand Down

0 comments on commit 28b2535

Please sign in to comment.