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

public Class MultiTableDeleteExecutor

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 MultiTableDeleteExecutor.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final MultiTableBulkIdStrategy.DeleteHandler

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 MultiTableBulkIdStrategy.DeleteHandler
public String[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

deleteHandlerback to summary
private final MultiTableBulkIdStrategy.DeleteHandler deleteHandler

Constructor Detail

MultiTableDeleteExecutorback to summary
public MultiTableDeleteExecutor(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.

Annotations
@Override
getDeleteHandlerback to summary
public MultiTableBulkIdStrategy.DeleteHandler getDeleteHandler()
getSqlStatementsback to summary
public String[] getSqlStatements()

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

Annotations
@Override