public static Connection getConnection(String url, String user, String password) throws SQLException
public static Connection getConnection(String url, Properties properties) throws SQLException
  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);  }