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

public Class TableUpdateCustomSql

extends AbstractTableUpdate<JdbcMutationOperation>
implements CustomSqlMutation<JdbcMutationOperation>
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.model.ast.CustomSqlMutation, org.hibernate.sql.model.ast.TableMutation, org.hibernate.sql.ast.tree.Statement
Imports
java.util.List, org.hibernate.sql.ast.SqlAstWalker, org.hibernate.sql.model.MutationTarget, org.hibernate.sql.model.ast.AbstractTableUpdate, .ColumnValueBinding, .ColumnValueParameter, .CustomSqlMutation, .MutatingTableReference, org.hibernate.sql.model.jdbc.JdbcMutationOperation

Update defined using custom sql-update
Author
Steve Ebersole
See Also
org.hibernate.annotations.SQLUpdate

Constructor Summary

AccessConstructor and Description
public
TableUpdateCustomSql(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings)

public
TableUpdateCustomSql(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)

Method Summary

Modifier and TypeMethod and Description
public void
public String
getCustomSql()

Implements org.hibernate.sql.model.ast.CustomSqlMutation.getCustomSql.

The custom SQL provided by the mapping
public boolean
public boolean
Inherited from org.hibernate.sql.model.ast.AbstractTableUpdate:
collectParameterscreateMutationOperationforEachParameterforEachValueBindinggetExpectationgetLoggableNamegetValueBindings

Constructor Detail

TableUpdateCustomSqlback to summary
public TableUpdateCustomSql(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings)
TableUpdateCustomSqlback to summary
public TableUpdateCustomSql(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)

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
getCustomSqlback to summary
public String getCustomSql()

Implements org.hibernate.sql.model.ast.CustomSqlMutation.getCustomSql.

Doc from org.hibernate.sql.model.ast.CustomSqlMutation.getCustomSql.

The custom SQL provided by the mapping

Annotations
@Override
isCallableback to summary
public boolean isCallable()

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

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

Whether getCustomSql() represents a callable (function/procedure)

Annotations
@Override
isCustomSqlback to summary
public boolean isCustomSql()

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

Annotations
@Override