public abstract class DbTran extends DbTranNode implements TranNode
children, parent| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
关闭
|
void |
commit()
提交
|
void |
execute(RunnableEx runnable) |
Connection |
getConnection(DataSource ds) |
Tran |
getMeta() |
void |
rollback()
回滚
|
addpublic DbTran(Tran meta)
public Tran getMeta()
public Connection getConnection(DataSource ds) throws SQLException
SQLExceptionpublic void execute(RunnableEx runnable) throws Throwable
Throwablepublic void commit()
throws Throwable
DbTranNodecommit 在类中 DbTranNodeThrowablepublic void rollback()
throws Throwable
DbTranNoderollback 在类中 DbTranNodeThrowablepublic void close()
throws Throwable
DbTranNodeclose 在类中 DbTranNodeThrowableCopyright © 2022. All rights reserved.