org.activiti.engine.impl.db
类 DbSqlSession.BulkDeleteOperation
java.lang.Object
org.activiti.engine.impl.db.DbSqlSession.BulkDeleteOperation
- 所有已实现的接口:
- DbSqlSession.DeleteOperation
- 包容类:
- 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.CheckedDeleteOperation
.
DbSqlSession.BulkDeleteOperation
public DbSqlSession.BulkDeleteOperation(String statement,
Object parameter)
sameIdentity
public boolean sameIdentity(PersistentObject other)
- 指定者:
- 接口
DbSqlSession.DeleteOperation
中的 sameIdentity
clearCache
public void clearCache()
- 指定者:
- 接口
DbSqlSession.DeleteOperation
中的 clearCache
execute
public void execute()
- 指定者:
- 接口
DbSqlSession.DeleteOperation
中的 execute
toString
public String toString()
- 覆盖:
- 类
Object
中的 toString
Copyright © 2013 Alfresco. All rights reserved.