Class MutationExecutorPostInsertSingleTable
- java.lang.Object
-
- org.hibernate.engine.jdbc.mutation.internal.MutationExecutorPostInsertSingleTable
-
- All Implemented Interfaces:
JdbcValueBindingsImpl.JdbcValueDescriptorAccess,MutationExecutor
public class MutationExecutorPostInsertSingleTable extends Object implements MutationExecutor, JdbcValueBindingsImpl.JdbcValueDescriptorAccess
Specialized form ofMutationExecutorPostInsertfor cases where there is only the single identity table. Allows us to skip references to things we won't need (Batch, etc)
-
-
Constructor Summary
Constructors Constructor Description MutationExecutorPostInsertSingleTable(EntityMutationOperationGroup mutationOperationGroup, SharedSessionContractImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session)Perform the execution, returning any generated value.JdbcValueBindingsgetJdbcValueBindings()Get the delegate to be used to coordinate JDBC parameter binding.PreparedStatementDetailsgetPreparedStatementDetails(String tableName)Details about thePreparedStatementfor mutating the given table.voidrelease()JdbcValueDescriptorresolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.engine.jdbc.mutation.internal.JdbcValueBindingsImpl.JdbcValueDescriptorAccess
resolvePhysicalTableName
-
-
-
-
Constructor Detail
-
MutationExecutorPostInsertSingleTable
public MutationExecutorPostInsertSingleTable(EntityMutationOperationGroup mutationOperationGroup, SharedSessionContractImplementor session)
-
-
Method Detail
-
resolveValueDescriptor
public JdbcValueDescriptor resolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)
- Specified by:
resolveValueDescriptorin interfaceJdbcValueBindingsImpl.JdbcValueDescriptorAccess
-
getJdbcValueBindings
public JdbcValueBindings getJdbcValueBindings()
Description copied from interface:MutationExecutorGet the delegate to be used to coordinate JDBC parameter binding.- Specified by:
getJdbcValueBindingsin interfaceMutationExecutor
-
getPreparedStatementDetails
public PreparedStatementDetails getPreparedStatementDetails(String tableName)
Description copied from interface:MutationExecutorDetails about thePreparedStatementfor mutating the given table.- Specified by:
getPreparedStatementDetailsin interfaceMutationExecutor
-
execute
public Object execute(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session)
Description copied from interface:MutationExecutorPerform the execution, returning any generated value.- Specified by:
executein interfaceMutationExecutorinclusionChecker- The ability to skip the execution for a specific table; passingnullindicates no filteringresultChecker- Custom result checking; passnullto perform the standard check using the statement's expectation
-
release
public void release()
- Specified by:
releasein interfaceMutationExecutor
-
-