public class SqlFileUpdateQuery extends SqlFileModifyQuery implements UpdateQuery
| Modifier and Type | Class and Description |
|---|---|
protected class |
SqlFileUpdateQuery.EntityHandler<E> |
protected static class |
SqlFileUpdateQuery.SqlFilePostUpdateContext<E> |
protected static class |
SqlFileUpdateQuery.SqlFilePreUpdateContext<E> |
| Modifier and Type | Field and Description |
|---|---|
protected SqlFileUpdateQuery.EntityHandler<?> |
entityHandler |
protected boolean |
nullExcluded |
protected boolean |
optimisticLockExceptionSuppressed |
protected boolean |
unchangedPropertyIncluded |
protected boolean |
versionIgnored |
EMPTY_STRINGS, excludedPropertyNames, executable, includedPropertyNames, kind, optimisticLockCheckRequired, parameters, sql, sqlExecutionSkipCause, sqlFilePath, sqlLogTypecallerClassName, callerMethodName, config, message, method, queryTimeout| Constructor and Description |
|---|
SqlFileUpdateQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
<E> E |
getEntity(java.lang.Class<E> entityType) |
void |
incrementVersion() |
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 |
prepareExecutable() |
protected void |
prepareOptimisticLock() |
protected void |
prepareTargetPropertyTypes() |
protected void |
preUpdate() |
<E> void |
setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
void |
setNullExcluded(boolean nullExcluded) |
void |
setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed) |
void |
setUnchangedPropertyIncluded(java.lang.Boolean unchangedPropertyIncluded) |
void |
setVersionIgnored(boolean versionIgnored) |
addParameter, addParameterInternal, expandColumns, getSql, getSqlExecutionSkipCause, getSqlLogType, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequired, prepareOptions, prepareSql, setExcludedPropertyNames, setIncludedPropertyNames, setSqlFilePath, setSqlLogType, toStringcomment, 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 SqlFileUpdateQuery.EntityHandler<?> entityHandler
protected boolean nullExcluded
protected boolean versionIgnored
protected boolean optimisticLockExceptionSuppressed
protected boolean unchangedPropertyIncluded
public void prepare()
prepare in interface Queryprepare in class AbstractQueryprotected void initEntityHandler()
protected void preUpdate()
protected void prepareTargetPropertyTypes()
protected void prepareExecutable()
protected void populateValues(org.seasar.doma.internal.jdbc.sql.node.PopulateNode node,
org.seasar.doma.internal.jdbc.sql.SqlContext context)
populateValues in class SqlFileModifyQueryprotected void prepareOptimisticLock()
public void incrementVersion()
incrementVersion in interface UpdateQuerypublic <E> E getEntity(java.lang.Class<E> entityType)
public <E> void setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType)
setEntityAndEntityType in class SqlFileModifyQuerypublic void setNullExcluded(boolean nullExcluded)
public void setVersionIgnored(boolean versionIgnored)
public void setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed)
public void setUnchangedPropertyIncluded(java.lang.Boolean unchangedPropertyIncluded)