From e499a555f712b807be18735ce1abe686a58c1f1c Mon Sep 17 00:00:00 2001 From: Daniel Koch Date: Fri, 25 Oct 2024 13:26:22 +0200 Subject: [PATCH] chore: update config for ehcache --- shogun-config/src/main/resources/application-base.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/shogun-config/src/main/resources/application-base.yml b/shogun-config/src/main/resources/application-base.yml index 7e8ab8b1..3c13ad77 100644 --- a/shogun-config/src/main/resources/application-base.yml +++ b/shogun-config/src/main/resources/application-base.yml @@ -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 @@ -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