接口 StatementExecutor
-
public interface StatementExecutorEncapsulates the strategy required to execute various types of update, delete, and insert statements issued through HQL.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 intexecute(QueryParameters parameters, SharedSessionContractImplementor session)Execute the sql managed by this executor using the given parameters.String[]getSqlStatements()
-
-
-
方法详细资料
-
getSqlStatements
String[] getSqlStatements()
-
execute
int execute(QueryParameters parameters, SharedSessionContractImplementor session) throws HibernateException
Execute the sql managed by this executor using the given parameters.- 参数:
parameters- Essentially bind information for this processing.session- The session originating the request.- 返回:
- The number of entities updated/deleted.
- 抛出:
HibernateException
-
-