public interface XTranExecutor
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(XTran anno,
RunnableEx runnable)
执行事务
|
default Connection |
getConnection(DataSource ds)
获取链接
|
default boolean |
inTrans()
是否在事务中
|
default boolean |
inTransAndReadOnly()
是否在事务中且只读
|
default boolean inTrans()
default boolean inTransAndReadOnly()
default Connection getConnection(DataSource ds) throws SQLException
SQLExceptionvoid execute(XTran anno, RunnableEx runnable) throws Throwable
ThrowableCopyright © 2020. All rights reserved.