Allow access to fields of MutationExecutorPostInsert

This is useful for implementing the reactive version of the class
This commit is contained in:
Georgios Andrianakis 2023-03-01 11:38:05 +02:00 committed by Christian Beikov
parent cf42b134d2
commit caf20a41e3
1 changed files with 5 additions and 5 deletions

View File

@ -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();