What's the difference between two cases below.
case 1)
String url = "jdbcracle:thin(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.133.103.142)(PORT=1522))(ADDRESS=(PROTOCOL=TCP)(HOST=10.133.103.112)(PORT=1522)))(CONNECT_DATA = (SERVICE_NAME = ORAKIPO))))"
String driver = "oracle.jdbc.driver.OracleDriver"
Class.forName(driver);
con = DriverManager.getConnection(url, "user", "password");
case 2)
String url = "jdbcracle:thinkpodb2.kipo.go.kr:1521:ORAKIPO"
String driver = "oracle.jdbc.driver.OracleDriver"
Class.forName(driver);
con = DriverManager.getConnection(url, "user", "password");
case 1)
String url = "jdbcracle:thin(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.133.103.142)(PORT=1522))(ADDRESS=(PROTOCOL=TCP)(HOST=10.133.103.112)(PORT=1522)))(CONNECT_DATA = (SERVICE_NAME = ORAKIPO))))"
String driver = "oracle.jdbc.driver.OracleDriver"
Class.forName(driver);
con = DriverManager.getConnection(url, "user", "password");
case 2)
String url = "jdbcracle:thinkpodb2.kipo.go.kr:1521:ORAKIPO"
String driver = "oracle.jdbc.driver.OracleDriver"
Class.forName(driver);
con = DriverManager.getConnection(url, "user", "password");