站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

MultiTableUpdateExecutor (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.hql.ast.exec
Class MultiTableUpdateExecutor

java.lang.Object
  extended byorg.hibernate.hql.ast.exec.AbstractStatementExecutor
      extended byorg.hibernate.hql.ast.exec.MultiTableUpdateExecutor
All Implemented Interfaces:
StatementExecutor

public class MultiTableUpdateExecutor
extends AbstractStatementExecutor

Implementation of MultiTableUpdateExecutor.

Author:
Steve Ebersole

Constructor Summary
MultiTableUpdateExecutor(HqlSqlWalker walker)
           
 
Method Summary
 int execute(QueryParameters parameters, SessionImplementor session)
          Execute the sql managed by this executor using the given parameters.
 Queryable getAffectedQueryable()
           
protected  Queryable[] getAffectedQueryables()
           
 String[] getSqlStatements()
           
 
Methods inherited from class org.hibernate.hql.ast.exec.AbstractStatementExecutor
coordinateSharedCacheCleanup, createTemporaryTableIfNecessary, dropTemporaryTableIfNecessary, generateIdInsertSelect, generateIdSubselect, getFactory, getWalker, shouldIsolateTemporaryTableDDL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTableUpdateExecutor

public MultiTableUpdateExecutor(HqlSqlWalker walker)
Method Detail

getAffectedQueryable

public Queryable getAffectedQueryable()

getSqlStatements

public String[] getSqlStatements()

execute

public int execute(QueryParameters parameters,
                   SessionImplementor session)
            throws HibernateException
Description copied from interface: StatementExecutor
Execute the sql managed by this executor using the given parameters.

Parameters:
parameters - Essentially bind information for this processing.
session - The session originating the request.
Returns:
The number of entities updated/deleted.
Throws:
HibernateException

getAffectedQueryables

protected Queryable[] getAffectedQueryables()
Specified by:
getAffectedQueryables in class AbstractStatementExecutor