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

public Interface StatementExecutor

Known Direct Implementers
org.hibernate.hql.internal.ast.exec.BasicExecutor, org.hibernate.hql.internal.ast.exec.MultiTableDeleteExecutor, org.hibernate.hql.internal.ast.exec.MultiTableUpdateExecutor
Imports
org.hibernate.HibernateException, org.hibernate.engine.spi.QueryParameters, .SharedSessionContractImplementor

Encapsulates the strategy required to execute various types of update, delete, and insert statements issued through HQL.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The number of entities updated/deleted.
execute
(QueryParameters
Essentially bind information for this processing.
parameters
,
SharedSessionContractImplementor
The session originating the request.
session
)

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

public String[]

Method Detail

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

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()