Skip to content

Commit

Permalink
chore: update config for ehcache
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Oct 25, 2024
1 parent 00b1459 commit e499a55
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions shogun-config/src/main/resources/application-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ spring:
hibernate:
id:
db_structure_naming_strategy: single
jakarta:
cache:
provider: org.ehcache.jsr107.EhcacheCachingProvider
uri: ehcache.xml
format_sql: true
# Generate statistics to check if L2/query cache is actually being used
generate_statistics: true
Expand All @@ -66,11 +62,16 @@ spring:
# Enable query cache
use_query_cache: true
region:
factory_class: org.hibernate.cache.jcache.JCacheRegionFactory
factory_class: jcache
integration:
envers:
# Set this to false to disable auditing entity changes
enabled: true
javax:
cache:
uri: ehcache.xml
provider: org.ehcache.jsr107.EhcacheCachingProvider

jackson:
serialization:
fail-on-empty-beans: false
Expand Down

0 comments on commit e499a55

Please sign in to comment.