Top Description Fields Constructors Methods
org.hibernate.hql.internal.ast.exec

public Class MultiTableUpdateExecutor

extends Object
implements StatementExecutor
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.internal.ast.exec.StatementExecutor
Imports
org.hibernate.HibernateException, org.hibernate.action.internal.BulkOperationCleanupAction, org.hibernate.engine.spi.QueryParameters, .SharedSessionContractImplementor, org.hibernate.event.spi.EventSource, org.hibernate.hql.internal.ast.HqlSqlWalker, org.hibernate.hql.spi.id.MultiTableBulkIdStrategy

Implementation of MultiTableUpdateExecutor.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final MultiTableBulkIdStrategy.UpdateHandler

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
execute(QueryParameters
Essentially bind information for this processing.
parameters
,
SharedSessionContractImplementor
The session originating the request.
session
)

Implements org.hibernate.hql.internal.ast.exec.StatementExecutor.execute.

Execute the sql managed by this executor using the given parameters.
public String[]
public MultiTableBulkIdStrategy.UpdateHandler
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

updateHandlerback to summary
private final MultiTableBulkIdStrategy.UpdateHandler updateHandler

Constructor Detail

MultiTableUpdateExecutorback to summary
public MultiTableUpdateExecutor(HqlSqlWalker walker)

Method Detail

executeback to summary
public int execute(QueryParameters parameters, SharedSessionContractImplementor session) throws HibernateException

Implements org.hibernate.hql.internal.ast.exec.StatementExecutor.execute.

Doc from org.hibernate.hql.internal.ast.exec.StatementExecutor.execute.

Execute the sql managed by this executor using the given parameters.

Parameters
parameters:QueryParameters

Essentially bind information for this processing.

session:SharedSessionContractImplementor

The session originating the request.

Returns:int

The number of entities updated/deleted.

getSqlStatementsback to summary
public String[] getSqlStatements()

Implements org.hibernate.hql.internal.ast.exec.StatementExecutor.getSqlStatements.

getUpdateHandlerback to summary
public MultiTableBulkIdStrategy.UpdateHandler getUpdateHandler()