From 87012c307e8218b49bb31ea52e9f4773fe54436c Mon Sep 17 00:00:00 2001 From: Alejandro Revilla Date: Wed, 27 Sep 2023 13:50:48 -0300 Subject: [PATCH] Disable Hibernate cache for sysconfig entity in order to prevent stale data issues across multiple nodes sharing dynamic information. --- modules/sysconfig/src/main/java/org/jpos/ee/SysConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sysconfig/src/main/java/org/jpos/ee/SysConfig.java b/modules/sysconfig/src/main/java/org/jpos/ee/SysConfig.java index 3652320401..581a5f2376 100644 --- a/modules/sysconfig/src/main/java/org/jpos/ee/SysConfig.java +++ b/modules/sysconfig/src/main/java/org/jpos/ee/SysConfig.java @@ -29,7 +29,7 @@ @Entity @Table(name = "sysconfig") -@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.READ_WRITE) +@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.NONE) @SuppressWarnings("unused") public class SysConfig extends Cloneable implements Serializable { @Id