Skip to content

Commit

Permalink
[#HHH-17204] visibility changes for Reactive upsert() support
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Sep 13, 2023
1 parent 2561a50 commit 3dbb9c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,11 @@ public DeleteCoordinator getDeleteCoordinator() {
return deleteCoordinator;
}

@Internal
public UpdateCoordinator getMergeCoordinator() {
return mergeCoordinator;
}

public String getVersionSelectString() {
return sqlVersionSelectString;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public MergeCoordinator(AbstractEntityPersister entityPersister, SessionFactoryI
}

@Override
<O extends MutationOperation> AbstractTableUpdateBuilder<O> newTableUpdateBuilder(EntityTableMapping tableMapping) {
protected <O extends MutationOperation> AbstractTableUpdateBuilder<O> newTableUpdateBuilder(EntityTableMapping tableMapping) {
return new TableMergeBuilder<>( entityPersister(), tableMapping, factory() );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ protected MutationOperationGroup generateDynamicUpdateGroup(
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() );
}

Expand Down

0 comments on commit 3dbb9c6

Please sign in to comment.