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 8d1c01b397
commit e59e142e40

View File

@ -1108,7 +1108,7 @@ private void applyTableUpdateDetails(
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,