String url = "jdbc:oracle:thin@MyServer:1521:MyDB";Connection con = DriverManager.getConnection(url, "name", "passwort");