private Driver loadDriver() throws SQLException {
    try {
      if (jdbcDriver != null && jdbcDriver.length() > 0) {
        return loadDriverUsingClassName();
      } else {
        return loadDriverUsingURL();
      }
    } catch (Exception ex) {
      String msg =
          "An Exception was caught while trying to load the driver. %s";
      String msgArg = ex.getLocalizedMessage();
      logger.error(String.format(msg, msgArg), ex);
      throw new SQLException(String.format(msg, msgArg));
    }
  }
Implementation of datasource function. This method is used to get the connection. The specified
user name and passowrd will be used.

@param clUsername The username for the database connection.
@param clPassword The password for the database connection.
geode-core/src/main/java/org/apache/geode/internal/datasource/GemFireBasicDataSource.java