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

public abstract Class BasicExecutor

extends Object
implements StatementExecutor
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.internal.ast.exec.StatementExecutor
Known Direct Subclasses
org.hibernate.hql.internal.ast.exec.DeleteExecutor, org.hibernate.hql.internal.ast.exec.IdSubselectUpdateExecutor, org.hibernate.hql.internal.ast.exec.InsertExecutor, org.hibernate.hql.internal.ast.exec.SimpleUpdateExecutor
Imports
java.sql.PreparedStatement, .SQLException, java.util.List, org.hibernate.HibernateException, org.hibernate.action.internal.BulkOperationCleanupAction, org.hibernate.engine.spi.QueryParameters, .RowSelection, .SharedSessionContractImplementor, org.hibernate.event.spi.EventSource, org.hibernate.param.ParameterSpecification, org.hibernate.persister.entity.Queryable

Base implementation of StatementExecutor.
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv int
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.
pack-priv abstract List<ParameterSpecification>
pack-priv abstract Queryable
pack-priv abstract String
public String[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BasicExecutorback to summary
public BasicExecutor()

Method Detail

doExecuteback to summary
pack-priv int doExecute(String sql, QueryParameters parameters, List<ParameterSpecification> parameterSpecifications, SharedSessionContractImplementor session) throws HibernateException
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
getParameterSpecificationsback to summary
pack-priv abstract List<ParameterSpecification> getParameterSpecifications()
getPersisterback to summary
pack-priv abstract Queryable getPersister()
getSqlback to summary
pack-priv abstract String getSql()
getSqlStatementsback to summary
public String[] getSqlStatements()

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

Annotations
@Override