refactor(entity): update fetch strategies to LAZY for improved relibility (#122)
This commit is contained in:
@@ -61,6 +61,7 @@ spring:
|
||||
minimum-idle: 5 # Keep warm connections ready
|
||||
idle-timeout: 300000 # 5 minutes before idle connections are closed
|
||||
jpa:
|
||||
open-in-view: true # true until we implement proper DTOs and service-layer data fetching
|
||||
hibernate:
|
||||
naming:
|
||||
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||||
@@ -74,6 +75,7 @@ spring:
|
||||
batch_size: 500
|
||||
order_inserts: true
|
||||
order_updates: true
|
||||
generate_statistics: ${HIBERNATE_STATISTICS:false}
|
||||
threads:
|
||||
virtual:
|
||||
enabled: true
|
||||
@@ -97,4 +99,5 @@ logging:
|
||||
org.quartz.simpl.SimpleThreadPool: WARN
|
||||
org.quartz.simpl.RAMJobStore: WARN
|
||||
org.hibernate.orm.connections.pooling: WARN
|
||||
org.hibernate.session.metrics: ${HIBERNATE_METRICS_LOG_LEVEL:WARN}
|
||||
org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer: ERROR
|
||||
|
||||
Reference in New Issue
Block a user