DmlBase.PathCondition| Modifier and Type | Field and Description |
|---|---|
protected static String |
ID_UNDEFINED_MSG |
protected Class<?> |
lastBeanClass |
protected static String |
OPTIMISTIC_LOCK_MSG |
protected Column<?>[] |
sets |
protected Map<Column<?>,Function> |
values |
protected static String |
VERSION_SET_MSG |
cachedAssociation, condition, db, discriminatorConditions, JOIN_PREFIX, joinBag, joins, lastFkAlias, lastJoin, parameters, path, PREFIX, rawSql, simpleJdbc, table, tableAlias| Constructor and Description |
|---|
DmlCore(AbstractDb db,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
_set(Column<?> col,
Object value)
Sets the value by defining a parameter with the column alias
This values can be raw values or more elaborated values like
UPPER(t0.Column) or AUTO(t0.ID)
|
protected int[] |
batch(org.apache.log4j.Logger logger,
String FQCN,
Map<String,Object> parameters) |
void |
batchLimit(int batchLimit)
Defines the amount of pending DML commands at witch the ezSQL will flush them to the Database.
|
protected boolean |
defineParameter(Column<?> col,
Function value) |
protected void |
endBatch(org.apache.log4j.Logger logger,
String FQCN) |
protected int |
execute(org.apache.log4j.Logger logger,
String FQCN,
Map<String,Object> parameters) |
protected int[] |
flushBatch(org.apache.log4j.Logger logger,
String FQCN) |
int |
getBatchLimit() |
int |
getPending()
statements that are still pending to execute
|
Map<Column<?>,Function> |
getValues() |
T |
setFalse(Column<Boolean> col) |
T |
setNull(Column<?> col) |
T |
sets(Column<?>... columns) |
T |
setTrue(Column<Boolean> col) |
T |
values(Object... values) |
addJoin, applyInclude, applyOn, applyWhere, callerName, connection, debug, debugSQL, debugTime, deepestCommonPath, driver, dumpParameters, getAliasForAssociation, getCondition, getDb, getJoins, getParameter, getParameters, getSimpleJdbc, getSql, getTable, getTableAlias, joinTo, nextRawIndex, replaceRaw, setParameter, setParameter, setTableAlias, where, where, whereprotected static final String OPTIMISTIC_LOCK_MSG
protected static final String VERSION_SET_MSG
protected static final String ID_UNDEFINED_MSG
protected Class<?> lastBeanClass
protected Column<?>[] sets
public DmlCore(AbstractDb db, Table table)
protected T _set(Column<?> col, Object value)
col - The columnvalue - The value to setprotected int execute(org.apache.log4j.Logger logger,
String FQCN,
Map<String,Object> parameters)
protected int[] batch(org.apache.log4j.Logger logger,
String FQCN,
Map<String,Object> parameters)
protected int[] flushBatch(org.apache.log4j.Logger logger,
String FQCN)
protected void endBatch(org.apache.log4j.Logger logger,
String FQCN)
public int getPending()
public int getBatchLimit()
public void batchLimit(int batchLimit)
batchLimit - Copyright © 2019. All rights reserved.