public class AutoBatchUpdateQuery<ENTITY> extends AutoBatchModifyQuery<ENTITY> implements BatchUpdateQuery
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AutoBatchUpdateQuery.AutoBatchPostUpdateContext<E> |
protected static class |
AutoBatchUpdateQuery.AutoBatchPreUpdateContext<E> |
| Modifier and Type | Field and Description |
|---|---|
protected BatchUpdateQueryHelper<ENTITY> |
helper |
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 |
|---|
AutoBatchUpdateQuery(EntityType<ENTITY> entityType) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
void |
incrementVersions() |
protected void |
postUpdate() |
void |
prepare() |
protected void |
prepareOptimisticLock() |
protected void |
prepareSql() |
protected void |
prepareTargetPropertyTypes() |
protected void |
preUpdate() |
void |
setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed) |
protected void |
setupHelper() |
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
protected BatchUpdateQueryHelper<ENTITY> helper
public AutoBatchUpdateQuery(EntityType<ENTITY> entityType)
public void prepare()
prepare in interface Queryprepare in class AbstractQueryprotected void setupHelper()
protected void preUpdate()
protected void prepareOptimisticLock()
protected void prepareTargetPropertyTypes()
protected void prepareSql()
public void incrementVersions()
incrementVersions in interface BatchUpdateQueryprotected void postUpdate()
public void setVersionIgnored(boolean versionIgnored)
public void setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed)