We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b0b993 commit e2281feCopy full SHA for e2281fe
APIJSON-Java-Server/APIJSONDemo-Druid/src/main/java/apijson/demo/DemoSQLExecutor.java
@@ -34,7 +34,7 @@ public class DemoSQLExecutor extends APIJSONSQLExecutor {
34
public Connection getConnection(SQLConfig config) throws Exception {
35
// Log.d(TAG, "getConnection config.getDatasource() = " + config.getDatasource());
36
37
- String key = config.getDatabase() + "-" + config.getDatasource();
+ String key = config.getDatasource() + "-" + config.getDatabase();
38
Connection c = connectionMap.get(key);
39
if (c == null || c.isClosed()) {
40
try {
0 commit comments