public class AutoDeleteQuery<ENTITY> extends AutoModifyQuery<ENTITY> implements DeleteQuery
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AutoDeleteQuery.AutoPostDeleteContext<E> |
protected static class |
AutoDeleteQuery.AutoPreDeleteContext<E> |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
optimisticLockExceptionSuppressed |
protected boolean |
versionIgnored |
autoGeneratedKeysSupported, EMPTY_STRINGS, entity, entityType, excludedPropertyNames, executable, idPropertyTypes, includedPropertyNames, optimisticLockCheckRequired, sql, sqlExecutionSkipCause, sqlLogType, targetPropertyTypes, tenantIdPropertyType, versionPropertyTypecallerClassName, callerMethodName, config, message, method, queryTimeout| Constructor and Description |
|---|
AutoDeleteQuery(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) |
getEntity, getSql, getSqlExecutionSkipCause, getSqlLogType, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequired, isTargetPropertyName, prepareOptions, prepareSpecialPropertyTypes, setEntity, setExcludedPropertyNames, setIncludedPropertyNames, setSqlLogType, toString, validateIdExistentcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSql, getSqlExecutionSkipCause, getSqlLogType, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequiredcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeoutprotected boolean versionIgnored
protected boolean optimisticLockExceptionSuppressed
public AutoDeleteQuery(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)