public class SqlFileBatchUpdateQuery<ELEMENT> extends SqlFileBatchModifyQuery<ELEMENT> implements BatchUpdateQuery
| Modifier and Type | Class and Description |
|---|---|
protected class |
SqlFileBatchUpdateQuery.EntityHandler |
protected static class |
SqlFileBatchUpdateQuery.SqlFileBatchPostUpdateContext<E> |
protected static class |
SqlFileBatchUpdateQuery.SqlFileBatchPreUpdateContext<E> |
| Modifier and Type | Field and Description |
|---|---|
protected SqlFileBatchUpdateQuery.EntityHandler |
entityHandler |
protected boolean |
optimisticLockExceptionSuppressed |
protected boolean |
versionIgnored |
batchSize, currentEntity, elementClass, elements, EMPTY_STRINGS, excludedPropertyNames, executable, includedPropertyNames, kind, optimisticLockCheckRequired, parameterName, sqlExecutionSkipCause, sqlFile, sqlFilePath, sqlLogType, sqlscallerClassName, callerMethodName, config, message, method, queryTimeout| Constructor and Description |
|---|
SqlFileBatchUpdateQuery(java.lang.Class<ELEMENT> elementClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
void |
incrementVersions() |
protected void |
initEntityHandler() |
protected void |
populateValues(org.seasar.doma.internal.jdbc.sql.node.PopulateNode node,
org.seasar.doma.internal.jdbc.sql.SqlContext context) |
void |
prepare() |
protected void |
prepareOptimisticLock() |
protected void |
prepareTargetPropertyTypes() |
protected void |
preUpdate() |
void |
setEntityType(EntityType<ELEMENT> entityType) |
void |
setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed) |
void |
setVersionIgnored(boolean versionIgnored) |
void |
setVersionIncluded(boolean versionIncluded) |
expandColumns, getBatchSize, getConfig, getEntities, getSql, getSqlExecutionSkipCause, getSqlLogType, getSqls, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequired, prepareOptions, prepareSql, prepareSqlFile, setBatchSize, setElements, setExcludedPropertyNames, setIncludedPropertyNames, setParameterName, setSqlFilePath, setSqlLogType, toStringcomment, getClassName, 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 SqlFileBatchUpdateQuery.EntityHandler entityHandler
protected boolean versionIgnored
protected boolean optimisticLockExceptionSuppressed
public SqlFileBatchUpdateQuery(java.lang.Class<ELEMENT> elementClass)
public void prepare()
prepare in interface Queryprepare in class SqlFileBatchModifyQuery<ELEMENT>protected void initEntityHandler()
protected void preUpdate()
protected void prepareTargetPropertyTypes()
protected void populateValues(org.seasar.doma.internal.jdbc.sql.node.PopulateNode node,
org.seasar.doma.internal.jdbc.sql.SqlContext context)
populateValues in class SqlFileBatchModifyQuery<ELEMENT>protected void prepareOptimisticLock()
public void incrementVersions()
incrementVersions in interface BatchUpdateQuerypublic void setEntityType(EntityType<ELEMENT> entityType)
setEntityType in class SqlFileBatchModifyQuery<ELEMENT>public void setVersionIncluded(boolean versionIncluded)
public void setVersionIgnored(boolean versionIgnored)
public void setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed)