HHH-16237 Restore version update group for subtype entities
This commit is contained in:
parent
b385ee578f
commit
22c3edc0dc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue