@Override
  public Connection getConnection() throws SQLException {
    synchronized (this) {
      if (!connectionInitialized) {
        connectionInitialized = true;
        try {
          Class.forName(databaseDriver);
        } catch (ClassNotFoundException e) {
          throw new SQLException("Can't load the driver class.", e);
        }
      }
    }
    return DriverManager.getConnection(databaseUrl);
  }
Get the database driver.

@return the database driver
contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/scom/SinkConnectionFactory.java