Top Description Constructors Methods
org.hibernate.sql.model.internal

public Class TableUpdateNoSet

extends AbstractRestrictedTableMutation<MutationOperation>
implements TableUpdate<MutationOperation>
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.model.ast.TableUpdate, org.hibernate.sql.model.ast.RestrictedTableMutation, org.hibernate.sql.model.ast.TableMutation, org.hibernate.sql.ast.tree.Statement
Imports
java.util.Collections, .List, java.util.function.BiConsumer, .Consumer, org.hibernate.jdbc.Expectation, org.hibernate.sql.ast.SqlAstWalker, org.hibernate.sql.exec.spi.JdbcParameterBinder, org.hibernate.sql.model.MutationOperation, .MutationTarget, .TableMapping, org.hibernate.sql.model.ast.AbstractRestrictedTableMutation, .ColumnValueBinding, .ColumnValueParameter, .MutatingTableReference, .TableUpdate, org.hibernate.sql.model.jdbc.JdbcMutationOperation

A skipped update
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
TableUpdateNoSet(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget)

Method Summary

Modifier and TypeMethod and Description
public void
protected JdbcMutationOperation
createMutationOperation(TableMapping tableDetails, String sql, List<JdbcParameterBinder>
The parameter binders effective for this table mutation
effectiveBinders
)

Implements abstract org.hibernate.sql.model.ast.AbstractTableMutation.createMutationOperation.

Intended for use from SqlAstTranslator
public void
public Expectation
getExpectation()

Implements org.hibernate.sql.model.ast.TableMutation.getExpectation.

The validation expectation for the mutation
protected String
public List<ColumnValueBinding>
getValueBindings()

Implements org.hibernate.sql.model.ast.TableUpdate.getValueBindings.

The value bindings for each column.
public boolean
isCallable()

Implements org.hibernate.sql.model.ast.TableMutation.isCallable.

Is the mutation a procedure/function?
public boolean
Inherited from org.hibernate.sql.model.ast.AbstractRestrictedTableMutation:
forEachKeyBindingforEachOptimisticLockBindingforEachValueBindinggetKeyBindingsgetOptimisticLockBindings

Constructor Detail

TableUpdateNoSetback to summary
public TableUpdateNoSet(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget)

Method Detail

acceptback to summary
public void accept(SqlAstWalker walker)

Implements org.hibernate.sql.ast.tree.Statement.accept.

Doc from org.hibernate.sql.ast.tree.Statement.accept.

Visitation

Annotations
@Override
createMutationOperationback to summary
protected JdbcMutationOperation createMutationOperation(TableMapping tableDetails, String sql, List<JdbcParameterBinder> effectiveBinders)

Implements abstract org.hibernate.sql.model.ast.AbstractTableMutation.createMutationOperation.

Doc from org.hibernate.sql.model.ast.AbstractTableMutation.createMutationOperation.

Intended for use from SqlAstTranslator

Parameters
effectiveBinders:List<JdbcParameterBinder>

The parameter binders effective for this table mutation

Annotations
@Override
forEachParameterback to summary
public void forEachParameter(Consumer<ColumnValueParameter> consumer)

Overrides org.hibernate.sql.model.ast.AbstractTableMutation.forEachParameter.

Implements org.hibernate.sql.model.ast.TableMutation.forEachParameter.

Doc from org.hibernate.sql.model.ast.TableMutation.forEachParameter.

Visit the JDBC parameters associated with this mutation. The order here is the expected binding order for the java.sql.PreparedStatement.

Annotations
@Override
getExpectationback to summary
public Expectation getExpectation()

Implements org.hibernate.sql.model.ast.TableMutation.getExpectation.

Doc from org.hibernate.sql.model.ast.TableMutation.getExpectation.

The validation expectation for the mutation

Annotations
@Override
getLoggableNameback to summary
protected String getLoggableName()

Implements abstract org.hibernate.sql.model.ast.AbstractTableMutation.getLoggableName.

Annotations
@Override
getValueBindingsback to summary
public List<ColumnValueBinding> getValueBindings()

Implements org.hibernate.sql.model.ast.TableUpdate.getValueBindings.

Doc from org.hibernate.sql.model.ast.TableUpdate.getValueBindings.

The value bindings for each column.

Annotations
@Override
isCallableback to summary
public boolean isCallable()

Implements org.hibernate.sql.model.ast.TableMutation.isCallable.

Doc from org.hibernate.sql.model.ast.TableMutation.isCallable.

Is the mutation a procedure/function?

Annotations
@Override
isCustomSqlback to summary
public boolean isCustomSql()

Overrides org.hibernate.sql.model.ast.AbstractTableMutation.isCustomSql.

Annotations
@Override