HHH-17211 Complete AnyValuedResult fetches initialization

This commit is contained in:
Marco Belladelli 2023-09-15 12:53:31 +02:00 committed by Christian Beikov
parent 5331500bb2
commit 41103a60b9
1 changed files with 6 additions and 2 deletions

View File

@ -358,7 +358,8 @@ public class DiscriminatedAssociationMapping implements MappingType, FetchOption
navigablePath,
baseAssociationJtd,
modelPart,
resultVariable
resultVariable,
creationState
);
}
@ -462,9 +463,12 @@ public class DiscriminatedAssociationMapping implements MappingType, FetchOption
NavigablePath navigablePath,
JavaType<?> baseAssociationJtd,
DiscriminatedAssociationModelPart fetchedPart,
String resultVariable) {
String resultVariable,
DomainResultCreationState creationState) {
super( navigablePath, fetchedPart, baseAssociationJtd );
this.resultVariable = resultVariable;
afterInitialize( creationState );
}
@Override