docs: public void setKey(String key) {
          if (key == null) {
              clearKey();
          } else {
              ThreadContext.putContext(dbName, key);
          }
          log.debug("set data source key[" + key + "]");
      }