
1.드라이버 로드 properties 로드 원하는 프로젝트에서 properties 들어갑니다. Add external JARs Java Build Path 에서 Add external JARs 클릭 ojdbc.jar 파일 열기 JDBC 드라이버 로딩 완료 2. Connection DB 연결 : 통로생성하고 연결하는 작업 Class.forName("oracle.jdbc.driver.OracleDriver"); String url = "jdbc:oracle:thin:@localhost:1521:xe", String id = "id"; String pw = "pw"; Connection conn = DriverManager.getConnection(url, id, pw); Class.forName("경로") ..