public class ExecuteTemplate extends Object
| 构造器和说明 |
|---|
ExecuteTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T,S extends Statement> |
execute(SQLRecognizer sqlRecognizer,
StatementProxy<S> statementProxy,
StatementCallback<T,S> statementCallback,
Object... args)
Execute t.
|
static <T,S extends Statement> |
execute(StatementProxy<S> statementProxy,
StatementCallback<T,S> statementCallback,
Object... args)
Execute t.
|
public static <T,S extends Statement> T execute(StatementProxy<S> statementProxy, StatementCallback<T,S> statementCallback, Object... args) throws SQLException
T - the type parameterS - the type parameterstatementProxy - the statement proxystatementCallback - the statement callbackargs - the argsSQLException - the sql exceptionpublic static <T,S extends Statement> T execute(SQLRecognizer sqlRecognizer, StatementProxy<S> statementProxy, StatementCallback<T,S> statementCallback, Object... args) throws SQLException
T - the type parameterS - the type parametersqlRecognizer - the sql recognizerstatementProxy - the statement proxystatementCallback - the statement callbackargs - the argsSQLException - the sql exceptionCopyright © 2019 Seata. All rights reserved.