diff options
author | Vitaly Takmazov | 2018-04-11 19:50:59 +0000 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-11 19:50:59 +0000 |
commit | 336517508441ecb9a78418065f5a6c068d15f3cb (patch) | |
tree | 599d2fa9acefbc6d7ed3c123caf3a3a1e95824db | |
parent | ad99117a15062a3819dad1f52a072e9694a954df (diff) |
jdbc: getReplies in not readonly anymore
-rw-r--r-- | juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
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( |