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
commit 在类中 DbTranNodeThrowablepublic void rollback()
throws Throwable
rollback 在类中 DbTranNodeThrowablepublic void close()
throws Throwable
close 在类中 DbTranNodeThrowableCopyright © 2021. All rights reserved.