Skip to content

Commit

Permalink
set(resources): application.yml 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
Woongbin06 committed Dec 27, 2023
1 parent c7a564b commit 5a16b89
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/resources/application.properties

This file was deleted.

28 changes: 28 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url : ${URL}
username: ${USER}
password: ${PASSWORD}

logging:
level:
org:
hibernate:
SQL: debug

jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQL8Dialect
generate-ddl: true
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: true
show_sql: true

decorator:
datasource:
p6spy:
enable-logging: true

0 comments on commit 5a16b89

Please sign in to comment.