T - the type parameterS - the type parameterpublic abstract class AbstractDMLBaseExecutor<T,S extends Statement> extends BaseTransactionalExecutor<T,S>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
WHERE |
sqlRecognizer, sqlRecognizers, statementCallback, statementProxy| 构造器和说明 |
|---|
AbstractDMLBaseExecutor(StatementProxy<S> statementProxy,
StatementCallback<T,S> statementCallback,
List<SQLRecognizer> sqlRecognizers)
Instantiates a new Base transactional executor.
|
AbstractDMLBaseExecutor(StatementProxy<S> statementProxy,
StatementCallback<T,S> statementCallback,
SQLRecognizer sqlRecognizer)
Instantiates a new Abstract dml base executor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract TableRecords |
afterImage(TableRecords beforeImage)
After image table records.
|
protected abstract TableRecords |
beforeImage()
Before image table records.
|
T |
doExecute(Object... args)
Do execute object.
|
protected T |
executeAutoCommitFalse(Object[] args)
Execute auto commit false t.
|
protected T |
executeAutoCommitTrue(Object[] args)
Execute auto commit true t.
|
buildLimitCondition, buildLockKey, buildOrderCondition, buildTableRecords, buildTableRecords, buildUndoItem, buildWhereCondition, containPK, containsPK, execute, getColumnNameInSQL, getColumnNamesInSQL, getDbType, getFromTableInSQL, getStandardPkColumnName, getTableMeta, getTableMeta, prepareUndoLogpublic AbstractDMLBaseExecutor(StatementProxy<S> statementProxy, StatementCallback<T,S> statementCallback, SQLRecognizer sqlRecognizer)
statementProxy - the statement proxystatementCallback - the statement callbacksqlRecognizer - the sql recognizerpublic AbstractDMLBaseExecutor(StatementProxy<S> statementProxy, StatementCallback<T,S> statementCallback, List<SQLRecognizer> sqlRecognizers)
statementProxy - the statement proxystatementCallback - the statement callbacksqlRecognizers - the multi sql recognizerpublic T doExecute(Object... args) throws Throwable
BaseTransactionalExecutorprotected T executeAutoCommitFalse(Object[] args) throws Exception
args - the argsException - the exceptionprotected T executeAutoCommitTrue(Object[] args) throws Throwable
args - the argsThrowable - the throwableprotected abstract TableRecords beforeImage() throws SQLException
SQLException - the sql exceptionprotected abstract TableRecords afterImage(TableRecords beforeImage) throws SQLException
beforeImage - the before imageSQLException - the sql exceptionCopyright © 2022 Seata. All rights reserved.