gradle
This commit is contained in:
@@ -23,6 +23,8 @@ repositories {
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
implementation 'com.h2database:h2'
|
||||
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
17
src/main/resources/application.yml
Normal file
17
src/main/resources/application.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
spring:
|
||||
jpa:
|
||||
database: "h2"
|
||||
properties:
|
||||
hibernate:
|
||||
show-sql: true
|
||||
ddl-auto: update
|
||||
hbm2ddl:
|
||||
auto: update
|
||||
format_sql: true
|
||||
|
||||
logging:
|
||||
level:
|
||||
web: DEBUG
|
||||
org:
|
||||
hibernate:
|
||||
SQL: DEBUG
|
||||
Reference in New Issue
Block a user