From 2800f24742968f2817381f0260d3e2cdaa65133c Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Fri, 21 Jun 2024 13:13:00 +0800 Subject: [PATCH] Update application.properties Turned off database default setting checking to speed up boot time. --- src/main/resources/application.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5b74466..672da54 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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.