We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eaa55c commit 7e6caa0Copy full SHA for 7e6caa0
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo/DemoSQLExecutor.java
@@ -70,11 +70,13 @@ public Connection getConnection(SQLConfig config) throws Exception {
70
switch (datasource) {
71
case "DRUID-TEST":
72
ds = dsMap.get("druidTestDataSource");
73
+ break;
74
case "DRUID-ONLINE":
75
ds = dsMap.get("druidOnlineDataSource");
76
break;
77
case "DRUID":
78
ds = dsMap.get("druidDataSource");
79
80
default:
81
ds = null;
82
0 commit comments