3.h2 세팅하기

강재영's avatar
Aug 14, 2024
3.h2 세팅하기
 

1.라이브러리

runtimeOnly 'com.h2database:h2'
 

2.application 설정하기

spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:~/test spring.datasource.username=sa
 

3.화면

notion image
 
Share article

강재영 블로그