Skip to content

Commit

Permalink
Disable Hibernate cache for sysconfig entity
Browse files Browse the repository at this point in the history
in order to prevent stale data issues across multiple nodes sharing
dynamic information.
  • Loading branch information
ar committed Sep 27, 2023
1 parent bc2df21 commit 87012c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sysconfig/src/main/java/org/jpos/ee/SysConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87012c3

Please sign in to comment.