Skip to content

Commit

Permalink
fix: jpa 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Nov 15, 2023
1 parent bf3fee9 commit fd0019e
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,16 @@ spring:
username: ${MYSQL_USERNAME:root}
password: ${MYSQL_PASSWORD:inqdbpassword}
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
connection-timeout: 20000
minimum-idle: 10
maximum-pool-size: 10
idle-timeout: 10000
max-lifetime: 1000
auto-commit: true

jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: ${FORMAT_SQL:true}
show_sql: ${SHOW_SQL:false}
database-platform: org.hibernate.dialect.MySQL8Dialect
open-in-view: false
format_sql: true
generate-ddl: false
defer-datasource-initialization: true
show-sql: true
jackson:
property-naming-strategy: SNAKE_CASE

servlet:
multipart:
Expand Down

0 comments on commit fd0019e

Please sign in to comment.