public interface TranExecutor
| 限定符和类型 | 方法和说明 |
|---|---|
default Connection |
getConnection(DataSource ds)
获取链接
|
boolean |
inTrans()
是否在事务中
|
default boolean |
inTransAndReadOnly()
是否在事务中且只读
|
boolean inTrans()
default boolean inTransAndReadOnly()
default Connection getConnection(DataSource ds) throws SQLException
SQLExceptionCopyright © 2021. All rights reserved.