Properties p = new Properties();
Driver d = getDriver(url); if (d == null) throw new SQLException("Driver not found for URL: " + url);
  public static Connection getConnection(String url, String user,    String password) throws SQLException  {    Properties p = new Properties();    if (user != null)      p.setProperty("user", user);    if (password != null)      p.setProperty("password", password);    return getConnection(url, p);  }