public class AutoBatchDeleteQuery<ENTITY> extends AutoBatchModifyQuery<ENTITY> implements BatchDeleteQuery
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AutoBatchDeleteQuery.AutoBatchPostDeleteContext<E> |
protected static class |
AutoBatchDeleteQuery.AutoBatchPreDeleteContext<E> |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
optimisticLockExceptionSuppressed |
protected boolean |
versionIgnored |
autoGeneratedKeysSupported, batchSize, currentEntity, EMPTY_STRINGS, entities, entityType, excludedPropertyNames, executable, idPropertyTypes, includedPropertyNames, optimisticLockCheckRequired, sqlExecutionSkipCause, sqlLogType, sqls, targetPropertyTypes, tenantIdPropertyType, versionPropertyTypecallerClassName, callerMethodName, config, message, method, queryTimeout| Constructor and Description |
|---|
AutoBatchDeleteQuery(EntityType<ENTITY> entityType) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
protected void |
postDelete() |
protected void |
preDelete() |
void |
prepare() |
protected void |
prepareOptimisticLock() |
protected void |
prepareSql() |
void |
setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed) |
void |
setVersionIgnored(boolean versionIgnored) |
getBatchSize, getEntities, getSql, getSqlExecutionSkipCause, getSqlLogType, getSqls, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequired, isTargetPropertyName, prepareIdAndVersionPropertyTypes, prepareOptions, setBatchSize, setEntities, setExcludedPropertyNames, setIncludedPropertyNames, setSqlLogType, toString, validateIdExistentcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBatchSize, getSql, getSqlExecutionSkipCause, getSqlLogType, getSqls, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequiredcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeoutprotected boolean versionIgnored
protected boolean optimisticLockExceptionSuppressed
public AutoBatchDeleteQuery(EntityType<ENTITY> entityType)
public void prepare()
prepare in interface Queryprepare in class AbstractQueryprotected void preDelete()
protected void prepareOptimisticLock()
protected void prepareSql()
protected void postDelete()
public void setVersionIgnored(boolean versionIgnored)
public void setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed)