Class SoftDeleteBatchTranslator
java.lang.Object
org.apache.cayenne.access.translator.batch.legacy.DefaultBatchTranslator
org.apache.cayenne.access.translator.batch.legacy.DeleteBatchTranslator
org.apache.cayenne.access.translator.batch.legacy.SoftDeleteBatchTranslator
- All Implemented Interfaces:
BatchTranslator
Deprecated.
since 4.2
Implementation of
DeleteBatchTranslator
, which uses 'soft' delete
(runs UPDATE and sets 'deleted' field to true instead-of running SQL DELETE)-
Field Summary
Fields inherited from class org.apache.cayenne.access.translator.batch.legacy.DefaultBatchTranslator
adapter, bindings, query, sql, translated, trimFunction
-
Constructor Summary
ConstructorDescriptionSoftDeleteBatchTranslator
(DeleteBatchQuery query, DbAdapter adapter, String trimFunction, String deletedFieldName) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected DbAttributeBinding[]
Deprecated.protected String
Deprecated.protected DbAttributeBinding[]
Deprecated.Methods inherited from class org.apache.cayenne.access.translator.batch.legacy.DeleteBatchTranslator
applyQualifier
Methods inherited from class org.apache.cayenne.access.translator.batch.legacy.DefaultBatchTranslator
appendDbAttribute, ensureTranslated, getBindings, getSql, updateBindings
-
Constructor Details
-
SoftDeleteBatchTranslator
public SoftDeleteBatchTranslator(DeleteBatchQuery query, DbAdapter adapter, String trimFunction, String deletedFieldName) Deprecated.
-
-
Method Details
-
createSql
Deprecated.- Overrides:
createSql
in classDeleteBatchTranslator
-
createBindings
Deprecated.- Overrides:
createBindings
in classDeleteBatchTranslator
-
doUpdateBindings
Deprecated.- Overrides:
doUpdateBindings
in classDeleteBatchTranslator
-