aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-13 13:43:51 +0300
committerGravatar Vitaly Takmazov2017-01-13 13:46:29 +0300
commit0f256ec22179b327a35611a8e28c1f503831050c (patch)
tree98257cc5a48be9babbd35366ce96bf7bfe6a688c /juick-server/src/main/java/com/juick/service/UserServiceImpl.java
parenta911c89be8a8b8e89086536939684b2720b2cfa2 (diff)
juick-server: setUserOption in not readonly
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/UserServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/UserServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
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))