HHH-17204 visibility changes for Reactive upsert() support

This commit is contained in:
Barry LaFond 2023-09-14 11:31:17 +02:00 committed by Christian Beikov
parent 2561a5072b
commit add1ffae07
3 changed files with 7 additions and 2 deletions

View File

@ -1051,6 +1051,11 @@ public abstract class AbstractEntityPersister
return deleteCoordinator;
}
@Internal
public UpdateCoordinator getMergeCoordinator() {
return mergeCoordinator;
}
public String getVersionSelectString() {
return sqlVersionSelectString;
}

View File

@ -24,7 +24,7 @@ public class MergeCoordinator extends UpdateCoordinatorStandard {
}
@Override
<O extends MutationOperation> AbstractTableUpdateBuilder<O> newTableUpdateBuilder(EntityTableMapping tableMapping) {
protected <O extends MutationOperation> AbstractTableUpdateBuilder<O> newTableUpdateBuilder(EntityTableMapping tableMapping) {
return new TableMergeBuilder<>( entityPersister(), tableMapping, factory() );
}

View File

@ -1088,7 +1088,7 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
return createOperationGroup( valuesAnalysis, updateGroupBuilder.buildMutationGroup() );
}
<O extends MutationOperation> AbstractTableUpdateBuilder<O> newTableUpdateBuilder(EntityTableMapping tableMapping) {
protected <O extends MutationOperation> AbstractTableUpdateBuilder<O> newTableUpdateBuilder(EntityTableMapping tableMapping) {
return new TableUpdateBuilderStandard<>( entityPersister(), tableMapping, factory() );
}