본문 바로가기

Spring Boot

spring boot에서 jpa와 h2디비 세팅

왠지 세세한 이유는 아직 모르겠지만
이리 세팅하면 되긴 한다....

spring.h2.console.path=/h2-console
spring.h2.console.enabled=true
spring.datasource.hikari.jdbc-url=jdbc:h2:tcp://localhost/D:/Severs/H2/data/mydb
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.username=
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.jpa.show-sql=true

728x90

'Spring Boot' 카테고리의 다른 글

[펌] spring boot msa  (0) 2021.10.20
spring boot에서 mybatis 테스트하기  (0) 2019.04.19
spring boot webflux로 Hello World 찍어보기  (0) 2019.04.18
spring boot webflux, 테스트 하기~  (0) 2019.02.20