From 075892f12036e5a7b8c1c6cc81709a1e3387d5a7 Mon Sep 17 00:00:00 2001
From: Katharina Staden <katharina.staden@mni.thm.de>
Date: Sat, 6 Jun 2015 18:22:42 +0200
Subject: [PATCH] Removed @Chacheable from getSession function, because the
 Update of a session wont work if only the cache is used for loading the
 content of a session

---
 src/main/java/de/thm/arsnova/dao/CouchDBDao.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
index 6713b7896..f4a24c6d8 100644
--- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
+++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
@@ -432,7 +432,6 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware
 	}
 
 	@Override
-	@Cacheable("sessions")
 	public Session getSessionFromKeyword(final String keyword) {
 		final NovaView view = new NovaView("session/by_keyword");
 		view.setKey(keyword);
-- 
GitLab