HHH-17045 Add row-id result to EntityJoinedFetchInitializer

This commit is contained in:
Marco Belladelli 2023-08-24 15:51:25 +02:00
parent d09237107e
commit 8d82d29c09
No known key found for this signature in database
GPG Key ID: D1D0C3030AE3AA35
2 changed files with 5 additions and 1 deletions

View File

@ -104,6 +104,7 @@ public class EntityFetchJoinedImpl extends AbstractNonLazyEntityFetch {
creationState.determineEffectiveLockMode( sourceAlias ), creationState.determineEffectiveLockMode( sourceAlias ),
notFoundAction, notFoundAction,
keyResult, keyResult,
entityResult.getRowIdResult(),
entityResult.getIdentifierFetch(), entityResult.getIdentifierFetch(),
entityResult.getDiscriminatorFetch(), entityResult.getDiscriminatorFetch(),
creationState creationState
@ -121,6 +122,7 @@ public class EntityFetchJoinedImpl extends AbstractNonLazyEntityFetch {
LockMode lockMode, LockMode lockMode,
NotFoundAction notFoundAction, NotFoundAction notFoundAction,
DomainResult<?> keyResult, DomainResult<?> keyResult,
DomainResult<Object> rowIdResult,
Fetch identifierFetch, Fetch identifierFetch,
Fetch discriminatorFetch, Fetch discriminatorFetch,
AssemblerCreationState creationState) { AssemblerCreationState creationState) {
@ -131,6 +133,7 @@ public class EntityFetchJoinedImpl extends AbstractNonLazyEntityFetch {
lockMode, lockMode,
notFoundAction, notFoundAction,
keyResult, keyResult,
rowIdResult,
identifierFetch, identifierFetch,
discriminatorFetch, discriminatorFetch,
creationState creationState

View File

@ -42,6 +42,7 @@ public class EntityJoinedFetchInitializer extends AbstractEntityInitializer {
LockMode lockMode, LockMode lockMode,
NotFoundAction notFoundAction, NotFoundAction notFoundAction,
DomainResult<?> keyResult, DomainResult<?> keyResult,
DomainResult<Object> rowIdResult,
Fetch identifierFetch, Fetch identifierFetch,
Fetch discriminatorFetch, Fetch discriminatorFetch,
AssemblerCreationState creationState) { AssemblerCreationState creationState) {
@ -51,7 +52,7 @@ public class EntityJoinedFetchInitializer extends AbstractEntityInitializer {
lockMode, lockMode,
identifierFetch, identifierFetch,
discriminatorFetch, discriminatorFetch,
null, rowIdResult,
creationState creationState
); );
this.referencedFetchable = referencedFetchable; this.referencedFetchable = referencedFetchable;