org.camunda.bpm.engine.impl.db
Class DbSqlSession.BulkDeleteOperation

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.DbSqlSession.BulkDeleteOperation
All Implemented Interfaces:
DbSqlSession.DeleteOperation
Enclosing class:
DbSqlSession

public class DbSqlSession.BulkDeleteOperation
extends Object
implements DbSqlSession.DeleteOperation

Use this DbSqlSession.DeleteOperation to execute a dedicated delete statement. It is important to note there won't be any optimistic locking checks done for these kind of delete operations! For example, a usage of this operation would be to delete all variables for a certain execution, when that certain execution is removed. The optimistic locking happens on the execution, but the variables can be removed by a simple 'delete from var_table where execution_id is xxx'. It could very well be there are no variables, which would also work with this query, but not with the regular DbSqlSession.DeletePersistentObjectOperation operation.


Constructor Summary
DbSqlSession.BulkDeleteOperation(String statement, Object parameter)
           
 
Method Summary
 void execute()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbSqlSession.BulkDeleteOperation

public DbSqlSession.BulkDeleteOperation(String statement,
                                        Object parameter)
Method Detail

execute

public void execute()
Specified by:
execute in interface DbSqlSession.DeleteOperation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 camunda services GmbH. All Rights Reserved.