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

public Class JdbcValueBindingsImpl

extends Object
implements JdbcValueBindings
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.jdbc.mutation.JdbcValueBindings
Imports
java.sql.SQLException, java.util.HashMap, .Locale, .Map, org.hibernate.engine.jdbc.mutation.JdbcValueBindings, .ParameterUsage, org.hibernate.engine.jdbc.mutation.group.PreparedStatementDetails, .UnknownParameterException, org.hibernate.engine.jdbc.mutation.spi.BindingGroup, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.sql.model.MutationTarget, .MutationType, .TableMapping, org.hibernate.sql.model.jdbc.JdbcValueDescriptor

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private final Map<String, BindingGroup>
private final JdbcValueBindingsImpl.JdbcValueDescriptorAccess
private final MutationTarget<?>
private final MutationType
private final SharedSessionContractImplementor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
afterStatement(TableMapping mutatingTable)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.afterStatement.

Called after the execution of the operation for the specified table
public void
beforeStatement(PreparedStatementDetails statementDetails)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.beforeStatement.

Called before the execution of the operation for the specified table
public void
bindValue(Object value, String tableName, String columnName, ParameterUsage usage)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.bindValue.

Binds a value for a specific column+usage
public BindingGroup
getBindingGroup(String tableName)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.getBindingGroup.

Get the bindings for the specific table, or null
private BindingGroup
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bindingGroupMapback to summary
private final Map<String, BindingGroup> bindingGroupMap
jdbcValueDescriptorAccessback to summary
private final JdbcValueBindingsImpl.JdbcValueDescriptorAccess jdbcValueDescriptorAccess
mutationTargetback to summary
private final MutationTarget<?> mutationTarget
mutationTypeback to summary
private final MutationType mutationType
sessionback to summary
private final SharedSessionContractImplementor session

Constructor Detail

JdbcValueBindingsImplback to summary
public JdbcValueBindingsImpl(MutationType mutationType, MutationTarget<?> mutationTarget, JdbcValueBindingsImpl.JdbcValueDescriptorAccess jdbcValueDescriptorAccess, SharedSessionContractImplementor session)

Method Detail

afterStatementback to summary
public void afterStatement(TableMapping mutatingTable)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.afterStatement.

Doc from org.hibernate.engine.jdbc.mutation.JdbcValueBindings.afterStatement.

Called after the execution of the operation for the specified table

Annotations
@Override
beforeStatementback to summary
public void beforeStatement(PreparedStatementDetails statementDetails)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.beforeStatement.

Doc from org.hibernate.engine.jdbc.mutation.JdbcValueBindings.beforeStatement.

Called before the execution of the operation for the specified table

Annotations
@Override
bindValueback to summary
public void bindValue(Object value, String tableName, String columnName, ParameterUsage usage)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.bindValue.

Doc from org.hibernate.engine.jdbc.mutation.JdbcValueBindings.bindValue.

Binds a value for a specific column+usage

Annotations
@Override
getBindingGroupback to summary
public BindingGroup getBindingGroup(String tableName)

Implements org.hibernate.engine.jdbc.mutation.JdbcValueBindings.getBindingGroup.

Doc from org.hibernate.engine.jdbc.mutation.JdbcValueBindings.getBindingGroup.

Get the bindings for the specific table, or null

Annotations
@Override
resolveBindingGroupback to summary
private BindingGroup resolveBindingGroup(String tableName)
org.hibernate.engine.jdbc.mutation.internal back to summary

public Interface JdbcValueBindingsImpl.JdbcValueDescriptorAccess

Known Direct Implementers
org.hibernate.engine.jdbc.mutation.internal.MutationExecutorPostInsert, org.hibernate.engine.jdbc.mutation.internal.MutationExecutorPostInsertSingleTable, org.hibernate.engine.jdbc.mutation.internal.MutationExecutorSingleSelfExecuting, org.hibernate.engine.jdbc.mutation.internal.MutationExecutorStandard, org.hibernate.engine.jdbc.mutation.internal.AbstractSingleMutationExecutor

Access to JdbcValueDescriptor values

Method Summary

Modifier and TypeMethod and Description
public default String
public JdbcValueDescriptor
resolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)

Method Detail

resolvePhysicalTableNameback to summary
public default String resolvePhysicalTableName(String tableName)
resolveValueDescriptorback to summary
public JdbcValueDescriptor resolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)