|
Connection의 생성
◆ Connection 인터페이스는 JDBC를 이용하여 데이터베이스에 접속하는 역할의 인터페이스
◆ Connection 인터페이스 객체를 생성하는 두가지 방법 : DriverManager,DataSource
◆ DriverManager를 통한 Connection 생성의 단점
- JDBC 프로그
|
- 페이지 7페이지
- 가격 1,000원
- 등록일 2006.08.05
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
DriverManager.getConnection(dbURL,\"apple\",\"1234\");
pstmt = con.prepareStatement(sql);
ResultSet result = pstmt.executeQuery();
%>
<center>
<table width=100% border=2 cellpadding=1>
<tr>
<td align=center><b> 타이머No</b></td>
<td align=center><
|
- 페이지 51페이지
- 가격 14,000원
- 등록일 2021.01.22
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
<%
String name = request.getParameter("name");
try{
Class.forName("org.gjt.mm.mysql.Driver");
String url = "jdbc:mysql://localhost:3306/test";
String user = "root";
String pwd = "";
Connection con
= DriverManager.getConnection(url, user, pwd);
String sql
="select
|
- 페이지 11페이지
- 가격 4,500원
- 등록일 2007.02.20
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
DriverManager.getConnection(url, user, password);
stmt = con.createStatement();
} //20
catch(ClassNotFoundException e1) {
System.err.println(e1.getMessage());
}
catch(SQLException e2) {
System.err.println(e
|
- 페이지 30페이지
- 가격 4,500원
- 등록일 2004.05.31
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
DriverManager.getConnection(url, "root", "sist2");
4.logic 패키지의 clientlogic 클래스의 ip를 서버의 아이피로 변경
ex)private final String host = "localhost";
5.server.control 패키지의 server클래스를 실행하고 control클래스의 clientcontroller 클래스를 원하는 플레이어 수
|
- 페이지 18페이지
- 가격 200,000원
- 등록일 2011.11.29
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|