HHH-17632 AssertionError when updating entity with lazy loading property and bytecode enhancement

This commit is contained in:
Andrea Boriero 2024-01-10 15:19:14 +01:00 committed by Christian Beikov
parent 8f3cc245ce
commit 899bf7b4fb
1 changed files with 1 additions and 1 deletions

View File

@ -1093,7 +1093,7 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
final AttributeAnalysis attributeAnalysis = updateValuesAnalysis.attributeAnalyses.get( attributeIndex );
if ( attributeAnalysis.includeInSet() ) {
assert updateValuesAnalysis.tablesNeedingUpdate.contains( tableMapping );
assert updateValuesAnalysis.tablesNeedingUpdate.contains( tableMapping ) || updateValuesAnalysis.tablesNeedingDynamicUpdate.contains( tableMapping );
applyAttributeUpdateDetails(
entity,
updateGroupBuilder,