HHH-17211 Complete AnyValuedResult fetches initialization

This commit is contained in:
Marco Belladelli 2023-09-15 12:53:31 +02:00
parent 46def53422
commit e950f2ca27
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