From 68b102fec60bbb7fe71eb60cf6e56752171dab52 Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 5 Oct 2023 12:34:24 -0700 Subject: [PATCH] SHIBUI-2617 Cleanup of properties for hibernate --- backend/src/main/resources/application.properties | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 4d34e2032..670a83b2f 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -53,11 +53,14 @@ spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.check_nullability=true spring.jpa.hibernate.use-new-id-generator-mappings=true spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true -## -hibernate.id.db_structure_naming_strategy=legacy -spring.jpa.hibernate.id.db_structure_naming_strategy=legacy +#spring.jpa.properties.hibernate.session.events.log.LOG_QUERIES_SLOWER_THAN_MS=800 +logging.level.org.hibernate.SQL_SLOW=info + +## spring.jpa.properties.hibernate.id.db_structure_naming_strategy=legacy + + #Envers versioning spring.jpa.properties.org.hibernate.envers.store_data_at_delete=true logging.level.org.hibernate.envers.boot=OFF