Skip to content

Commit

Permalink
SHIBUI-2617
Browse files Browse the repository at this point in the history
Cleanup of properties for hibernate
  • Loading branch information
chasegawa committed Oct 5, 2023
1 parent 45e8d0a commit 68b102f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
##<!-- ensure backward compatibility -->
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

##<!-- ensure backward compatibility with sequence DO NOT CHANGE -->
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
Expand Down

0 comments on commit 68b102f

Please sign in to comment.