Skip to content

Commit

Permalink
Update application.properties
Browse files Browse the repository at this point in the history
Turned off database default setting checking to speed up boot time.
  • Loading branch information
nhkhai committed Jun 21, 2024
1 parent 8cd0921 commit 2800f24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=create
# This can be used to update tables.
# spring.jpa.hibernate.ddl-auto=update
# This setting is used to control whether we should consult the JDBC metadata to determine certain Settings default values when the database may not be available (mainly in tools usage). Default is true. Turn it off to avoid a database hit.
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false

# Logging configuration.
# Application logging configuration.
Expand Down

0 comments on commit 2800f24

Please sign in to comment.