| 程序包 | 说明 |
|---|---|
| org.noear.wood |
| 限定符和类型 | 字段和说明 |
|---|---|
DbTran |
Command.tran
数据处理事务
|
| 限定符和类型 | 方法和说明 |
|---|---|
DbTran |
DbTran.autoCommit(boolean autoCommit)
是否自动提交
|
static DbTran |
DbTranUtil.current()
获取线程的当前事务
|
DbTran |
DbTran.execute(Act0Ex<Throwable> handler) |
static DbTran |
Trans.tran(Act0Ex<Throwable> handler)
开始事务(如果当前有,则加入;否则新起事务)
|
static DbTran |
Trans.tranNew(Act0Ex<Throwable> handler)
开始一个新的事务
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
DbTranUtil.currentSet(DbTran tran)
设置线程的当前事务
|
Copyright © 2023. All rights reserved.