public class TnDeleteEntityDynamicCommand extends TnAbstractEntityDynamicCommand
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
_optimisticLockHandling |
protected boolean |
_versionNoAutoIncrementOnMemory |
_beanMetaData, _propertyNames, _targetDBMeta_dataSource, _statementFactory| コンストラクタと説明 |
|---|
TnDeleteEntityDynamicCommand(DataSource dataSource,
StatementFactory statementFactory) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected TnDeleteEntityHandler |
createDeleteEntityHandler(String sql,
DeleteOption<ConditionBean> option) |
protected String |
createDeleteSql(Object bean,
DeleteOption<ConditionBean> option)
Create update SQL.
|
protected Object |
doExecute(Object bean,
String sql,
DeleteOption<ConditionBean> option) |
Object |
execute(Object[] args)
Execute SQL.
|
protected DeleteOption<ConditionBean> |
extractDeleteOption(Object[] args) |
protected TnDeleteEntityHandler |
newDeleteEntityHandler(String sql) |
protected void |
prepareStatementConfigOnThreadIfExists(DeleteOption<ConditionBean> option) |
void |
setOptimisticLockHandling(boolean optimisticLockHandling) |
checkPrimaryKey, doFilterExecutedSqlByCallbackFilter, encryptIfNeeds, extractBeanFromArgsChecked, extractBeanListFromBeanChecked, extractUniqueDrivenPropSet, filterExecutedSql, getSqlStringFilter, ln, prepareWherePrimaryKey, setBeanMetaData, setPropertyNames, setTargetDBMeta, setupUpdateWhereassertObjectNotNullprotected boolean _optimisticLockHandling
protected boolean _versionNoAutoIncrementOnMemory
public TnDeleteEntityDynamicCommand(DataSource dataSource, StatementFactory statementFactory)
public Object execute(Object[] args)
SqlExecutionargs - The arguments for SQL.protected DeleteOption<ConditionBean> extractDeleteOption(Object[] args)
protected void prepareStatementConfigOnThreadIfExists(DeleteOption<ConditionBean> option)
protected Object doExecute(Object bean, String sql, DeleteOption<ConditionBean> option)
protected String createDeleteSql(Object bean, DeleteOption<ConditionBean> option)
bean - The bean of the entity to delete. (NotNull)option - An option of delete. (NullAllowed)protected TnDeleteEntityHandler createDeleteEntityHandler(String sql, DeleteOption<ConditionBean> option)
protected TnDeleteEntityHandler newDeleteEntityHandler(String sql)
public void setOptimisticLockHandling(boolean optimisticLockHandling)
Copyright © 2014–2015 The DBFlute Project. All rights reserved.