类 BasicExecutor
- java.lang.Object
-
- org.hibernate.hql.internal.ast.exec.BasicExecutor
-
- 所有已实现的接口:
StatementExecutor
- 直接已知子类:
DeleteExecutor
public class BasicExecutor extends Object implements StatementExecutor
Implementation of BasicExecutor.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 BasicExecutor(HqlSqlWalker walker, Queryable persister)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected intdoExecute(QueryParameters parameters, SharedSessionContractImplementor session, String sql, List parameterSpecifications)intexecute(QueryParameters parameters, SharedSessionContractImplementor session)Execute the sql managed by this executor using the given parameters.String[]getSqlStatements()
-
-
-
构造器详细资料
-
BasicExecutor
public BasicExecutor(HqlSqlWalker walker, Queryable persister)
-
-
方法详细资料
-
getSqlStatements
public String[] getSqlStatements()
- 指定者:
getSqlStatements在接口中StatementExecutor
-
execute
public int execute(QueryParameters parameters, SharedSessionContractImplementor session) throws HibernateException
从接口复制的说明:StatementExecutorExecute the sql managed by this executor using the given parameters.- 指定者:
execute在接口中StatementExecutor- 参数:
parameters- Essentially bind information for this processing.session- The session originating the request.- 返回:
- The number of entities updated/deleted.
- 抛出:
HibernateException
-
doExecute
protected int doExecute(QueryParameters parameters, SharedSessionContractImplementor session, String sql, List parameterSpecifications) throws HibernateException
-
-