From 35ee9c30865c2ccb349bb674c12eb2ef6cc05187 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 16 Jan 2017 14:16:25 +0300 Subject: juick-server: fix tag autocreation --- juick-server/src/main/java/com/juick/service/TagServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juick-server/src/main/java/com/juick/service/TagServiceImpl.java b/juick-server/src/main/java/com/juick/service/TagServiceImpl.java index 66566872..61f23d71 100644 --- a/juick-server/src/main/java/com/juick/service/TagServiceImpl.java +++ b/juick-server/src/main/java/com/juick/service/TagServiceImpl.java @@ -60,7 +60,7 @@ public class TagServiceImpl extends BaseJdbcService implements TagService { null : list.get(0); } - @Transactional(readOnly = true) + @Transactional @Override public com.juick.Tag getTag(final String tag, final boolean autoCreate) { if (StringUtils.isBlank(tag)) -- cgit v1.2.3