diff --git a/build.gradle b/build.gradle index dcedbdd..e605637 100644 --- a/build.gradle +++ b/build.gradle @@ -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' diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 8b13789..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..0e492c6 --- /dev/null +++ b/src/main/resources/application.yml @@ -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 \ No newline at end of file