| 构造器和说明 |
|---|
TxcLogHelper(H2DbHelper h2DbHelper) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteUndoLog(String groupId,
String unitId)
删除TXC撤销日志
|
List<UndoLogDO> |
getUndoLogByGroupAndUnitId(String groupId,
String unitId)
获取某个事务下具体UNIT的TXC撤销日志
|
void |
init()
TXC撤销日志存储表准备
|
void |
saveUndoLog(UndoLogDO undoLogDO)
保存TXC撤销日志
|
@Autowired public TxcLogHelper(H2DbHelper h2DbHelper)
public void init()
init 在接口中 com.codingapi.txlcn.common.runner.TxLcnInitializerpublic void saveUndoLog(UndoLogDO undoLogDO) throws SQLException
undoLogDO - 撤销日志对象SQLException - 数据库操作失败public List<UndoLogDO> getUndoLogByGroupAndUnitId(String groupId, String unitId) throws SQLException
groupId - groupIdunitId - unitIdSQLException - 数据库操作失败public void deleteUndoLog(String groupId, String unitId) throws SQLException
groupId - groupIdunitId - unitIdSQLException - 数据库操作失败Copyright © 2019. All rights reserved.