H2 설정

안승현·2022년 8월 7일
0

환경설정

목록 보기
3/3

spring.h2.console.enabled=true
spring.h2.console.path=/h2-console

spring.datasource.url=jdbc:h2:~/test;
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect

h2
implementation 'com.h2database:h2'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'

0개의 댓글