/**
   * Gives connection to
   *
   * @param config
   * @return
   * @throws IOException
   * @throws DatabaseException
   * @throws MissingPropertiesFile
   * @throws SQLException
   * @throws ConnectionClosedException
   */
  public Connection getTargetConnection(DbConfiguration config)
      throws IOException, DatabaseException, MissingPropertiesFile, SQLException,
          ConnectionClosedException {

    return ConnectorFactory.getTargetConnection(config);
  }