类 DeleteExecutor
- java.lang.Object
-
- org.hibernate.hql.internal.ast.exec.BasicExecutor
-
- org.hibernate.hql.internal.ast.exec.DeleteExecutor
-
- 所有已实现的接口:
StatementExecutor
public class DeleteExecutor extends BasicExecutor
Provides deletions in addition to the basic SQL delete statement being executed. Ex: cascading the delete into a many-to-many join table.- 作者:
- Brett Meyer
-
-
构造器概要
构造器 构造器 说明 DeleteExecutor(HqlSqlWalker walker, Queryable persister)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intexecute(QueryParameters parameters, SharedSessionContractImplementor session)Execute the sql managed by this executor using the given parameters.-
从类继承的方法 org.hibernate.hql.internal.ast.exec.BasicExecutor
doExecute, getSqlStatements
-
-
-
-
构造器详细资料
-
DeleteExecutor
public DeleteExecutor(HqlSqlWalker walker, Queryable persister)
-
-
方法详细资料
-
execute
public int execute(QueryParameters parameters, SharedSessionContractImplementor session) throws HibernateException
从接口复制的说明:StatementExecutorExecute the sql managed by this executor using the given parameters.- 指定者:
execute在接口中StatementExecutor- 覆盖:
execute在类中BasicExecutor- 参数:
parameters- Essentially bind information for this processing.session- The session originating the request.- 返回:
- The number of entities updated/deleted.
- 抛出:
HibernateException
-
-