public abstract class DbTran extends DbTranNode implements TranNode
children, parent
限定符和类型 | 方法和说明 |
---|---|
void |
close()
关闭
|
void |
commit()
提交
|
void |
execute(RunnableEx runnable) |
java.sql.Connection |
getConnection(javax.sql.DataSource ds) |
Tran |
getMeta() |
void |
listen(TranListener listener)
监听
|
void |
rollback()
回滚
|
add
public DbTran(Tran meta)
public void listen(TranListener listener)
public Tran getMeta()
public java.sql.Connection getConnection(javax.sql.DataSource ds) throws java.sql.SQLException
java.sql.SQLException
public void execute(RunnableEx runnable) throws java.lang.Throwable
java.lang.Throwable
public void commit() throws java.lang.Throwable
DbTranNode
commit
在类中 DbTranNode
java.lang.Throwable
public void rollback()
DbTranNode
rollback
在类中 DbTranNode
public void close() throws java.lang.Throwable
DbTranNode
close
在类中 DbTranNode
java.lang.Throwable