h2 database dependency 추가

This commit is contained in:
jini
2022-12-02 13:35:12 +09:00
parent 2d5b1c243e
commit 9e706ea8a0
2 changed files with 6 additions and 1 deletions

View File

@@ -4,9 +4,11 @@ dependencies {
compileOnly("org.springframework.boot:spring-boot-configuration-processor")
implementation("org.springdoc:springdoc-openapi-ui:1.6.13")
implementation("com.epages:restdocs-api-spec-model:0.16.2")
testImplementation("org.mockito:mockito-inline")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
runtimeOnly("com.h2database:h2")
implementation(project(":util:common-util"))
}

View File

@@ -19,7 +19,6 @@ spring:
# transaction-isolation: TRANSACTION_READ_UNCOMMITTED
pool-name: pool-demofx
jpa:
database-platform: org.hibernate.dialect.MariaDB103Dialect
properties:
hibernate:
format_sql: true
@@ -29,6 +28,10 @@ spring:
default_batch_fetch_size: 500
open-in-view: false
show-sql: true
h2:
console:
enabled: true
path: /h2-console
# devtools:
# add-properties: false