Skip to content

Commit dda4e58

Browse files
committed
Add methods to MutationExecutorStandard for Hibernate reactive
1 parent f314ead commit dda4e58

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorStandard.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,21 @@ public MutationExecutorStandard(
170170
}
171171
}
172172

173+
//Used by Hibernate Reactive
174+
protected PreparedStatementGroup getBatchedPreparedStatementGroup() {
175+
return this.batch != null ? this.batch.getStatementGroup() : null;
176+
}
177+
173178
//Used by Hibernate Reactive
174179
protected PreparedStatementGroup getNonBatchedStatementGroup() {
175180
return nonBatchedStatementGroup;
176181
}
177182

183+
//Used by Hibernate Reactive
184+
protected List<SelfExecutingUpdateOperation> getSelfExecutingMutations() {
185+
return selfExecutingMutations;
186+
}
187+
178188
@Override
179189
public JdbcValueBindings getJdbcValueBindings() {
180190
return valueBindings;

0 commit comments

Comments
 (0)