본문 바로가기 메뉴 바로가기

프로그래밍 해볼까

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

프로그래밍 해볼까

검색하기 폼
  • Blog (85)
    • Cafe (5)
    • Days (7)
    • 맛집 (10)
    • Computer (3)
    • Programming (56)
      • Monitoring (2)
      • MSA (0)
      • Blockchain (2)
      • JAVA (18)
      • Kotlin (1)
      • JDBC (6)
      • Database (2)
      • Data Structure (1)
      • JSP (1)
      • Spring (3)
      • Docker (3)
      • Elastic Stack (2)
      • Jenkins (3)
      • Keycloak (2)
      • Linux (1)
      • HTML5, CSS3 (2)
      • Open Source (6)
      • jQuery (1)
      • Android (0)
    • Graphic (0)
      • Illustrator (0)
      • PhotoShop (0)
  • 방명록

driverManager (1)
[JDBC] JDBC 드라이버 로딩과 Connection 생성

JDBC 드라이버 로딩과 Connection 생성1.JDBC 드라이버 로딩 MySQL의 JDBC Driver Class를 로딩합니다.Class.forName(“driver”)을 이용해서 Driver Class를 로딩하면 객체가 생성되고, DriverManager에 등록됩니다.ex) Class.forName(“com.mysql.jdbc.Driver”)Driver 클래스를 찾지 못할 경우, ClassNotFoundException 예외가 발생 합니다.2. Connection 생성 Connection - 데이터베이스와 연결하는 객체입니다.DriverManager.getConnection(연결문자열, DB_ID, DB_PW) 으로 Connection 객체를 생성합니다.연결문자열(Connection String)..

Programming/JDBC 2017. 6. 26. 14:23
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Database
  • 티스토리초대장
  • Algorithm
  • keycloak
  • docker
  • scouter
  • db
  • 문자열
  • 카프카
  • 초대장
  • jenkins
  • PreparedStatement
  • string
  • elastic stack
  • 서울카페
  • 자료구조
  • 잠실맛집
  • 알고리즘
  • mysql
  • Array
  • kafka
  • 도커
  • JDBC
  • 리스트
  • ArrayList
  • spring
  • 미사맛집
  • 자바
  • 송리단길맛집
  • Java
more
«   2026/02   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바