Skip to content

Commit

Permalink
HHH-17045 Add row-id result to EntityJoinedFetchInitializer
Browse files Browse the repository at this point in the history
  • Loading branch information
mbladel committed Aug 28, 2023
1 parent 0da986e commit 489466f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ protected EntityInitializer getEntityInitializer(
creationState.determineEffectiveLockMode( sourceAlias ),
notFoundAction,
keyResult,
entityResult.getRowIdResult(),
entityResult.getIdentifierFetch(),
entityResult.getDiscriminatorFetch(),
creationState
Expand All @@ -121,6 +122,7 @@ protected Initializer buildEntityJoinedFetchInitializer(
LockMode lockMode,
NotFoundAction notFoundAction,
DomainResult<?> keyResult,
DomainResult<Object> rowIdResult,
Fetch identifierFetch,
Fetch discriminatorFetch,
AssemblerCreationState creationState) {
Expand All @@ -131,6 +133,7 @@ protected Initializer buildEntityJoinedFetchInitializer(
lockMode,
notFoundAction,
keyResult,
rowIdResult,
identifierFetch,
discriminatorFetch,
creationState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public EntityJoinedFetchInitializer(
LockMode lockMode,
NotFoundAction notFoundAction,
DomainResult<?> keyResult,
DomainResult<Object> rowIdResult,
Fetch identifierFetch,
Fetch discriminatorFetch,
AssemblerCreationState creationState) {
Expand All @@ -51,7 +52,7 @@ public EntityJoinedFetchInitializer(
lockMode,
identifierFetch,
discriminatorFetch,
null,
rowIdResult,
creationState
);
this.referencedFetchable = referencedFetchable;
Expand Down

0 comments on commit 489466f

Please sign in to comment.