Interface MutationExecutor
- All Known Implementing Classes:
AbstractMutationExecutor
,AbstractSingleMutationExecutor
,MutationExecutorSingleBatched
,MutationExecutorSingleNonBatched
,MutationExecutorSingleSelfExecuting
,MutationExecutorStandard
Main contract for performing the mutation. Accounts for various
moving parts such as:
- Should the statements be batched or not?
- Should we "logically" group logging of the parameter bindings?
- ...
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session) Perform the execution, returning any generated value.execute
(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session, Batch.StaleStateMapper staleStateMapper) Get the delegate to be used to coordinate JDBC parameter binding.getPreparedStatementDetails
(String tableName) Details about thePreparedStatement
for mutating the given table.void
release()
-
Method Details
-
getJdbcValueBindings
JdbcValueBindings getJdbcValueBindings()Get the delegate to be used to coordinate JDBC parameter binding. -
getPreparedStatementDetails
Details about thePreparedStatement
for mutating the given table. -
release
void release()
-