aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-16 14:16:25 +0300
committerGravatar Vitaly Takmazov2017-01-16 14:16:25 +0300
commit35ee9c30865c2ccb349bb674c12eb2ef6cc05187 (patch)
treeed813643cfc4568694c53ce844226dc092e0ecf2 /juick-server/src/main/java
parenteb3ddf44b2c66d8b8724cbe6f5d9ebddc426e68c (diff)
juick-server: fix tag autocreation
Diffstat (limited to 'juick-server/src/main/java')
-rw-r--r--juick-server/src/main/java/com/juick/service/TagServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
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))