public class DbSqlSession.BulkDeleteOperation extends Object implements DbSqlSession.DeleteOperation
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 and Description |
---|
DbSqlSession.BulkDeleteOperation(String statement,
Object parameter) |
public void execute()
execute
in interface DbSqlSession.DeleteOperation
Copyright © 2015. All rights reserved.