From 0f256ec22179b327a35611a8e28c1f503831050c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 13 Jan 2017 13:43:51 +0300 Subject: juick-server: setUserOption in not readonly --- juick-server/src/main/java/com/juick/service/UserServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src/main/java/com') diff --git a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java index 05ef4c95..b1339049 100644 --- a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java +++ b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java @@ -372,7 +372,7 @@ public class UserServiceImpl extends BaseJdbcService implements UserService { return list.isEmpty() ? defaultValue : list.get(0); } - @Transactional(readOnly = true) + @Transactional @Override public int setUserOptionInt(final int uid, final String option, final int value) { if (StringUtils.isBlank(option)) -- cgit v1.2.3