aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-11 19:50:59 +0000
committerGravatar Vitaly Takmazov2018-04-11 19:50:59 +0000
commit336517508441ecb9a78418065f5a6c068d15f3cb (patch)
tree599d2fa9acefbc6d7ed3c123caf3a3a1e95824db /juick-server-jdbc/src/main/java
parentad99117a15062a3819dad1f52a072e9694a954df (diff)
jdbc: getReplies in not readonly anymore
Diffstat (limited to 'juick-server-jdbc/src/main/java')
-rw-r--r--juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java
index c811e300..5370295a 100644
--- a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -770,7 +770,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
return Collections.emptyList();
}
- @Transactional(readOnly = true)
+ @Transactional
@Override
public List<Message> getReplies(final User user, final int mid) {
List<Message> replies = getNamedParameterJdbcTemplate().query(