DmlBase.PathConditionID_UNDEFINED_MSG, lastBeanClass, OPTIMISTIC_LOCK_MSG, sets, values, VERSION_SET_MSGcachedAssociation, condition, db, discriminatorConditions, JOIN_PREFIX, joinBag, joins, lastFkAlias, lastJoin, parameters, path, PREFIX, rawSql, simpleJdbc, table, tableAlias| Constructor and Description |
|---|
Delete(AbstractDb db,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
batch() |
void |
endBatch() |
int |
execute() |
boolean |
execute(Object bean)
Remove the table row associated with the supplied bean.
Version column is ignored if null. |
int[] |
flushBatch() |
RawSql |
getSql() |
Delete |
set(Object bean)
Builds the delete action considering only the key properties.
Version column is ignored. |
void |
submit(Object bean)
Remove the table row associated with the supplied bean.
Version property must exist and must be non null, otherwise it will throw an OptimisticLockException. An OptimisticLockException is thrown if it fails to update. See also execute(Object). |
Delete |
values(Object... values) |
_set, batch, batchLimit, defineParameter, endBatch, execute, flushBatch, getBatchLimit, getPending, getValues, setFalse, setNull, sets, setTrueaddJoin, applyInclude, applyOn, applyWhere, callerName, connection, debug, debugSQL, debugTime, deepestCommonPath, driver, dumpParameters, getAliasForAssociation, getCondition, getDb, getJoins, getParameter, getParameters, getSimpleJdbc, getTable, getTableAlias, joinTo, nextRawIndex, replaceRaw, setParameter, setParameter, setTableAlias, wherepublic Delete(AbstractDb db, Table table)
public Delete set(Object bean)
bean - public int execute()
public int[] batch()
public int[] flushBatch()
public void endBatch()
public void submit(Object bean)
execute(Object).bean - public boolean execute(Object bean)
bean - Copyright © 2019. All rights reserved.