apache / apache/incubator-seata
Executor执行器中beforeImage和afterImage方法返回值只考虑了sql语句涉及一张表的情况,无法承接涉及多张表的SQL语句,如MultiUpdateExecutor
Open
task: help-wanted
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
## Why you need it?
Is your feature request related to a problem? Please describe in details
这里的beforeImage只考虑了一张表,但像MultiExecutor这种可能涉及多张表,目前是在内部通过维护map结构实现的,返回值是null,语义上不太明确。可考虑beforeImage的抽象方法返回值定义为泛型,由各个子类根据实际情况承接不同的返回值

## How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
## Other related information
Add any other context or screenshots about the feature request here.
Contributor guide
Assessment
This issue has not been assessed yet.