code: private DBI createDBI() throws Exception
      {
          if (driver != null) {
              Class.forName(driver).newInstance();
          }
          return new DBI(url, user, password);
      }
docs: Creates the datasource config based on the provided parameters.