HHH-16237 Restore version update group for subtype entities

This commit is contained in:
Marco Belladelli 2023-03-07 17:52:34 +01:00 committed by Christian Beikov
parent 2e531f3bec
commit 6a31527d28
1 changed files with 1 additions and 2 deletions

View File

@ -1564,7 +1564,7 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
private MutationOperationGroup buildVersionUpdateGroup() {
final EntityVersionMapping versionMapping = entityPersister().getVersionMapping();
if ( versionMapping == null || entityPersister().getSuperMappingType() != null ) {
if ( versionMapping == null ) {
return null;
}
else {
@ -1590,7 +1590,6 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
return new MutationOperationGroupSingle( MutationType.UPDATE, entityPersister(), jdbcMutation );
}
}
private void addPartitionRestriction(TableUpdateBuilderStandard<JdbcMutationOperation> updateBuilder) {