apache / apache/incubator-seata
多数据源时 @EnableAutoDataSourceProxy(excludes ="xxx") 不能进行excludes
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
### Ⅰ. Issue Description
多数据源时 @EnableAutoDataSourceProxy(excludes ="xxx") 不能进行excludes
### Ⅱ. Describe what happened
no
### Ⅲ. Describe what you expected to happen
添加了一个hive数据源,但是没有getUrl(),所以需要excludes掉hive库,但是excludes不生效
重写了SeataDataSourceBeanPostProcessor 这个类,修改了第56行代码后生效。
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
1. xxx
2. xxx
3. xxx
### Ⅴ. Anything else we need to know?
修改SeataDataSourceBeanPostProcessor 这个类,修改了第56行代码。
### Ⅵ. Environment:
- JDK version :1.8
- Seata version: 1.4.2
- OS : windows10
- Others:
Contributor guide
Assessment
This issue has not been assessed yet.