public interface INbTransaction extends Closeable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
commit()
提交
|
default Connection |
getConnection() |
Connection |
getConnection(String dsName)
获取连接
|
void |
rollback()
回滚
|
default Connection getConnection() throws SQLException
SQLExceptionConnection getConnection(String dsName) throws SQLException
SQLExceptionvoid commit()
throws SQLException
SQLExceptionvoid rollback()
throws SQLException
SQLExceptionCopyright © 2022. All rights reserved.