org.hibernate.hql.internal.ast.exec
Class MultiTableDeleteExecutor

java.lang.Object
  extended by org.hibernate.hql.internal.ast.exec.MultiTableDeleteExecutor
All Implemented Interfaces:
StatementExecutor

public class MultiTableDeleteExecutor
extends Object
implements StatementExecutor

Implementation of MultiTableDeleteExecutor.


Constructor Summary
MultiTableDeleteExecutor(HqlSqlWalker walker)
           
 
Method Summary
 int execute(QueryParameters parameters, SessionImplementor session)
          Execute the sql managed by this executor using the given parameters.
 String[] getSqlStatements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTableDeleteExecutor

public MultiTableDeleteExecutor(HqlSqlWalker walker)
Method Detail

getSqlStatements

public String[] getSqlStatements()
Specified by:
getSqlStatements in interface StatementExecutor

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.

Specified by:
execute in interface StatementExecutor
Parameters:
parameters - Essentially bind information for this processing.
session - The session originating the request.
Returns:
The number of entities updated/deleted.
Throws:
HibernateException


Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.