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

public Interface StatementExecutor

Known Direct Implementers
org.hibernate.hql.ast.exec.AbstractStatementExecutor
Imports
org.hibernate.HibernateException, org.hibernate.engine.QueryParameters, .SessionImplementor

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
,
SessionImplementor
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, SessionImplementor session) throws HibernateException

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

Parameters
parameters:QueryParameters

Essentially bind information for this processing.

session:SessionImplementor

The session originating the request.

Returns:int

The number of entities updated/deleted.

getSqlStatementsback to summary
public String[] getSqlStatements()