Top Description Fields Constructors Methods
org.hibernate.engine.jdbc.mutation.internal

public Class MutationExecutorPostInsertSingleTable

extends Object
implements MutationExecutor, JdbcValueDescriptorAccess
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.jdbc.mutation.internal.JdbcValueBindingsImpl.JdbcValueDescriptorAccess, org.hibernate.engine.jdbc.mutation.MutationExecutor
Imports
java.util.Locale, org.hibernate.engine.jdbc.mutation.JdbcValueBindings, .MutationExecutor, .OperationResultChecker, .ParameterUsage, .TableInclusionChecker, org.hibernate.engine.jdbc.mutation.group.PreparedStatementDetails, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.id.insert.InsertGeneratedIdentifierDelegate, org.hibernate.persister.entity.mutation.EntityMutationTarget, org.hibernate.sql.model.EntityMutationOperationGroup, .MutationType, .PreparableMutationOperation, .ValuesAnalysis, org.hibernate.sql.model.jdbc.JdbcValueDescriptor

Specialized form of MutationExecutorPostInsert for cases where there is only the single identity table. Allows us to skip references to things we won't need (Batch, etc)
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PreparedStatementDetails
private final EntityMutationTarget
private final PreparableMutationOperation
private final SharedSessionContractImplementor
private final JdbcValueBindingsImpl

Constructor Summary

AccessConstructor and Description
public

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)

Implements org.hibernate.engine.jdbc.mutation.MutationExecutor.execute.

Perform the execution, returning any generated value.
public JdbcValueBindings
getJdbcValueBindings()

Implements org.hibernate.engine.jdbc.mutation.MutationExecutor.getJdbcValueBindings.

Get the delegate to be used to coordinate JDBC parameter binding.
public PreparedStatementDetails
public void
public JdbcValueDescriptor
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

identityInsertStatementDetailsback to summary
private final PreparedStatementDetails identityInsertStatementDetails
mutationTargetback to summary
private final EntityMutationTarget mutationTarget
operationback to summary
private final PreparableMutationOperation operation
sessionback to summary
private final SharedSessionContractImplementor session
valueBindingsback to summary
private final JdbcValueBindingsImpl valueBindings

Constructor Detail

MutationExecutorPostInsertSingleTableback to summary
public MutationExecutorPostInsertSingleTable(EntityMutationOperationGroup mutationOperationGroup, SharedSessionContractImplementor session)

Method Detail

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

Implements org.hibernate.engine.jdbc.mutation.MutationExecutor.execute.

Doc from org.hibernate.engine.jdbc.mutation.MutationExecutor.execute.

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

Annotations
@Override
getJdbcValueBindingsback to summary
public JdbcValueBindings getJdbcValueBindings()

Implements org.hibernate.engine.jdbc.mutation.MutationExecutor.getJdbcValueBindings.

Doc from org.hibernate.engine.jdbc.mutation.MutationExecutor.getJdbcValueBindings.

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

Annotations
@Override
getPreparedStatementDetailsback to summary
public PreparedStatementDetails getPreparedStatementDetails(String tableName)

Implements org.hibernate.engine.jdbc.mutation.MutationExecutor.getPreparedStatementDetails.

Doc from org.hibernate.engine.jdbc.mutation.MutationExecutor.getPreparedStatementDetails.

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

Annotations
@Override
releaseback to summary
public void release()

Implements org.hibernate.engine.jdbc.mutation.MutationExecutor.release.

Annotations
@Override
resolveValueDescriptorback to summary
public JdbcValueDescriptor resolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)

Implements org.hibernate.engine.jdbc.mutation.internal.JdbcValueBindingsImpl.JdbcValueDescriptorAccess.resolveValueDescriptor.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override