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

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


org.hibernate.hql.ast.exec
Interface StatementExecutor

All Known Implementing Classes:
AbstractStatementExecutor

public interface StatementExecutor

Encapsulates the strategy required to execute various types of update, delete, and insert statements issued through HQL.

Author:
Steve Ebersole

Method Summary
 int execute(QueryParameters parameters, SessionImplementor session)
          Execute the sql managed by this executor using the given parameters.
 String[] getSqlStatements()
           
 

Method Detail

getSqlStatements

public String[] getSqlStatements()

execute

public int execute(QueryParameters parameters,
                   SessionImplementor session)
            throws HibernateException
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