feat(application.yml) : spring datasource, jpa, h2 설정 추가

This commit is contained in:
banjjoknim
2022-05-01 03:56:39 +09:00
parent 7831e5fc58
commit 5c7a9c55af

View File

@@ -0,0 +1,16 @@
spring:
datasource:
url: jdbc:h2:mem:testdb;MODE=MySQL;
driver-class-name: org.h2.Driver
username: sa
password:
jpa:
show-sql: true
hibernate:
ddl-auto: create-drop
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
h2:
console:
enabled: true