From e3a331196c71837c2015d371a5b4ab235732c901 Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 17 Nov 2020 09:13:22 +0100 Subject: [PATCH] fixed caching issue with client connections --- .../webservice/servicelayer/dao/ClientConnectionDAO.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/ClientConnectionDAO.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/ClientConnectionDAO.java index 6f795848..6d80f58b 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/ClientConnectionDAO.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/ClientConnectionDAO.java @@ -89,6 +89,8 @@ public interface ClientConnectionDAO extends Result createNew(ClientConnection data); @Override + // TODO check if it is possible to remove with examId + @CacheEvict(cacheNames = CONNECTION_TOKENS_CACHE, allEntries = true) Result save(ClientConnection data); @CacheEvict(