From caf20a41e308a9ba1b0e204e0e14a8f35ea01a19 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Wed, 1 Mar 2023 11:38:05 +0200 Subject: [PATCH] Allow access to fields of MutationExecutorPostInsert This is useful for implementing the reactive version of the class --- .../mutation/internal/MutationExecutorPostInsert.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorPostInsert.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorPostInsert.java index d2978215a8..6213095ce5 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorPostInsert.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorPostInsert.java @@ -49,17 +49,17 @@ import static org.hibernate.sql.model.ModelMutationLogging.MODEL_MUTATION_LOGGER * @author Steve Ebersole */ public class MutationExecutorPostInsert implements MutationExecutor { - private final EntityMutationTarget mutationTarget; - private final MutationOperationGroup mutationOperationGroup; + protected final EntityMutationTarget mutationTarget; + protected final MutationOperationGroup mutationOperationGroup; - private final PreparedStatementDetails identityInsertStatementDetails; + protected final PreparedStatementDetails identityInsertStatementDetails; /** * Any non-batched JDBC statements */ - private final PreparedStatementGroup secondaryTablesStatementGroup; + protected final PreparedStatementGroup secondaryTablesStatementGroup; - private final JdbcValueBindingsImpl valueBindings; + protected final JdbcValueBindingsImpl valueBindings; public MutationExecutorPostInsert(MutationOperationGroup mutationOperationGroup, SharedSessionContractImplementor session) { this.mutationTarget = (EntityMutationTarget) mutationOperationGroup.getMutationTarget();