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,
SessionImplementor session,
String sql,
List parameterSpecifications) |
int |
execute(QueryParameters parameters,
SessionImplementor 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, SessionImplementor 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, SessionImplementor session, String sql, List parameterSpecifications) throws HibernateException
HibernateException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.