org.hibernate.hql.ast.exec
Class BasicExecutor
java.lang.Object
org.hibernate.hql.ast.exec.AbstractStatementExecutor
org.hibernate.hql.ast.exec.BasicExecutor
- All Implemented Interfaces:
- StatementExecutor
public class BasicExecutor
- extends AbstractStatementExecutor
Implementation of BasicExecutor.
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicExecutor
public BasicExecutor(HqlSqlWalker walker,
Queryable persister)
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
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.