public class BasicExecutor extends Object implements StatementExecutor
Constructor and Description |
---|
BasicExecutor(HqlSqlWalker walker,
Queryable persister) |
Modifier and Type | Method and Description |
---|---|
protected int |
doExecute(QueryParameters parameters,
SharedSessionContractImplementor session,
String sql,
List parameterSpecifications) |
int |
execute(QueryParameters parameters,
SharedSessionContractImplementor session)
Execute the sql managed by this executor using the given parameters.
|
String[] |
getSqlStatements() |
public BasicExecutor(HqlSqlWalker walker, Queryable persister)
public String[] getSqlStatements()
getSqlStatements
in interface StatementExecutor
public int execute(QueryParameters parameters, SharedSessionContractImplementor session) throws HibernateException
StatementExecutor
execute
in interface StatementExecutor
parameters
- Essentially bind information for this processing.session
- The session originating the request.HibernateException
protected int doExecute(QueryParameters parameters, SharedSessionContractImplementor session, String sql, List parameterSpecifications) throws HibernateException
HibernateException
Copyright © 2019 JBoss by Red Hat. All rights reserved.