T - the type parameterS - the type parameterpublic class UpdateExecutor<T,S extends Statement> extends AbstractDMLBaseExecutor<T,S>
sqlRecognizer, statementCallback, statementProxy| 构造器和说明 |
|---|
UpdateExecutor(StatementProxy statementProxy,
StatementCallback statementCallback,
SQLRecognizer sqlRecognizer)
Instantiates a new Update executor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected TableRecords |
afterImage(TableRecords beforeImage)
After image table records.
|
protected TableRecords |
beforeImage()
Before image table records.
|
doExecute, executeAutoCommitFalse, executeAutoCommitTruebuildLockKey, buildTableRecords, buildTableRecords, buildUndoItem, buildWhereCondition, buildWhereConditionByPKs, execute, getColumnNameInSQL, getDbType, getFromTableInSQL, getTableMeta, getTableMeta, prepareUndoLogpublic UpdateExecutor(StatementProxy statementProxy, StatementCallback statementCallback, SQLRecognizer sqlRecognizer)
statementProxy - the statement proxystatementCallback - the statement callbacksqlRecognizer - the sql recognizerprotected TableRecords beforeImage() throws SQLException
AbstractDMLBaseExecutorbeforeImage 在类中 AbstractDMLBaseExecutor<T,S extends Statement>SQLException - the sql exceptionprotected TableRecords afterImage(TableRecords beforeImage) throws SQLException
AbstractDMLBaseExecutorafterImage 在类中 AbstractDMLBaseExecutor<T,S extends Statement>beforeImage - the before imageSQLException - the sql exceptionCopyright © 2019 Seata. All rights reserved.