org.hibernate.hql.internal.ast.exec
Class DeleteExecutor
java.lang.Object
org.hibernate.hql.internal.ast.exec.BasicExecutor
org.hibernate.hql.internal.ast.exec.DeleteExecutor
- All Implemented Interfaces:
- StatementExecutor
public class DeleteExecutor
- extends BasicExecutor
Provides deletions in addition to the basic SQL delete statement being executed. Ex: cascading the delete into a
many-to-many join table.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteExecutor
public DeleteExecutor(HqlSqlWalker walker,
Queryable persister)
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- Overrides:
execute in class BasicExecutor
- 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-2015 Red Hat, Inc. All Rights Reserved.