Top Description Methods
org.hibernate.engine.jdbc.mutation

public Interface MutationExecutor

Known Direct Implementers
org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor, org.hibernate.engine.jdbc.mutation.internal.MutationExecutorPostInsert, org.hibernate.engine.jdbc.mutation.internal.MutationExecutorPostInsertSingleTable
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.engine.jdbc.mutation.group.PreparedStatementDetails, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.sql.model.ValuesAnalysis

Main contract for performing the mutation. Accounts for various moving parts such as:
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Object
execute(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker
The ability to skip the execution for a specific table; passing null indicates no filtering
inclusionChecker
,
OperationResultChecker
Custom result checking; pass null to perform the standard check using the statement's expectation
resultChecker
,
SharedSessionContractImplementor session)

Perform the execution, returning any generated value.

public JdbcValueBindings
getJdbcValueBindings()

Get the delegate to be used to coordinate JDBC parameter binding.

public PreparedStatementDetails
getPreparedStatementDetails(String tableName)

Details about the java.sql.PreparedStatement for mutating the given table.

public void

Method Detail

executeback to summary
public Object execute(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session)

Perform the execution, returning any generated value.

Parameters
inclusionChecker:TableInclusionChecker

The ability to skip the execution for a specific table; passing null indicates no filtering

resultChecker:OperationResultChecker

Custom result checking; pass null to perform the standard check using the statement's expectation

getJdbcValueBindingsback to summary
public JdbcValueBindings getJdbcValueBindings()

Get the delegate to be used to coordinate JDBC parameter binding.

getPreparedStatementDetailsback to summary
public PreparedStatementDetails getPreparedStatementDetails(String tableName)

Details about the java.sql.PreparedStatement for mutating the given table.

releaseback to summary
public void release()