From b5c4662bb8395fb5639262295ce93131b0a9224b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=94=85=E7=9B=96?= <332309254@qq.com> Date: Thu, 17 Jun 2021 11:13:10 +0800 Subject: [PATCH] feat(dynamic-datasource): dynamic-datasource new version resolve this problem --- .../pig/common/datasource/config/LastParamDsProcessor.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/pig-common/pig-common-datasource/src/main/java/com/pig4cloud/pig/common/datasource/config/LastParamDsProcessor.java b/pig-common/pig-common-datasource/src/main/java/com/pig4cloud/pig/common/datasource/config/LastParamDsProcessor.java index 87e13f3c..63f5dc48 100644 --- a/pig-common/pig-common-datasource/src/main/java/com/pig4cloud/pig/common/datasource/config/LastParamDsProcessor.java +++ b/pig-common/pig-common-datasource/src/main/java/com/pig4cloud/pig/common/datasource/config/LastParamDsProcessor.java @@ -38,8 +38,6 @@ public class LastParamDsProcessor extends DsProcessor { @Override public boolean matches(String key) { if (key.startsWith(LAST_PREFIX)) { - // https://github.com/baomidou/dynamic-datasource-spring-boot-starter/issues/213 - DynamicDataSourceContextHolder.clear(); return true; } return false;