일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- web 사진
- classification
- html
- broscoding
- 데이터전문기관
- inorder
- C언어
- paragraph
- 웹 용어
- postorder
- cudnn
- 자료구조
- 재귀함수
- Keras
- bccard
- web 용어
- 대이터
- mglearn
- 결합전문기관
- CES 2O21 참여
- 머신러닝
- pycharm
- KNeighborsClassifier
- tensorflow
- java역사
- web 개발
- web
- CES 2O21 참가
- discrete_scatter
- vscode
- Today
- Total
목록[IT]/jdbc (3)
bro's coding
package model; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; // DAO : Data Access Object public class GuestBookDAO { private String driver = "oracle.jdbc.OracleDriver"; private String url = "jdbc:oracle:thin:@127.0.0.1:1521:xe"; private String username = "scott"; p..
package test; import java.sql.SQLException; import java.util.ArrayList; import model.MemberDAO; import model.MemberVO; public class TestMemberDAO2 { public static void main(String[] args) { try { MemberDAO dao = new MemberDAO(); ArrayList list = dao.getAllMemberList(); for (int i = 0; i < list.size(); i++) { System.out.println(list.get(i)); } } catch (ClassNotFoundException e) { // TODO Auto-gen..
package step1; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; public class TestJDBC1 { public static void main(String[] args) { String driver = "oracle.jdbc.OracleDriver"; String url = "jdbc:oracle:thin:@221.150.136.4:1521:xe"; try { Class.forName(driver); System.out.println("oracle database와 ..