HHH-16873 Expose fast-path cloning constructors for UpdateCoordinatorStandard
This commit is contained in:
parent
11aa022aa2
commit
2acda737d2
|
@ -109,6 +109,21 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
|
|||
}
|
||||
}
|
||||
|
||||
//Used by Hibernate Reactive to efficiently create new instances of this same class
|
||||
protected UpdateCoordinatorStandard(
|
||||
AbstractEntityPersister entityPersister,
|
||||
SessionFactoryImplementor factory,
|
||||
MutationOperationGroup staticUpdateGroup,
|
||||
BatchKey batchKey,
|
||||
MutationOperationGroup versionUpdateGroup,
|
||||
BatchKey versionUpdateBatchkey) {
|
||||
super( entityPersister, factory );
|
||||
this.staticUpdateGroup = staticUpdateGroup;
|
||||
this.batchKey = batchKey;
|
||||
this.versionUpdateGroup = versionUpdateGroup;
|
||||
this.versionUpdateBatchkey = versionUpdateBatchkey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MutationOperationGroup getStaticUpdateGroup() {
|
||||
return staticUpdateGroup;
|
||||
|
@ -998,7 +1013,8 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
|
|||
return NoBatchKeyAccess.INSTANCE;
|
||||
}
|
||||
|
||||
private BatchKey getVersionUpdateBatchkey(){
|
||||
//Used by Hibernate Reactive
|
||||
protected BatchKey getVersionUpdateBatchkey(){
|
||||
return versionUpdateBatchkey;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue