LinkedNestBlog

Spring DB 접근 기술

by Dev Jinwon
Spring DB 접근 기술



0. 사전 준비
- H2 DB Installation
- Download
- URL : http://www.h2database.com/html/download.html
- H2 Console 실행
- Windows OS에서는 검색바에서 h2 console을 검색 및 선택
- http://localhost:8082/login.jsp?jsessionid=bfbb8e4c11dc5c0d0915e8320bda3a84
- Table 생성
- Member Table
create table member (

id bigint generated by default as identity,

name varchar(255),

primary key(id)

);MEMBER
1. **순수 JDBC**
2. **Spring JDBC Template**
3. JPA
4. Spring Data JPA
Spring DB 접근 기술 · LinkedNest Blog