From 9d9e07b4064c7cca4fc6d15dadf50e6f6a509639 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 9 Feb 2020 20:05:43 +0100 Subject: Fix HQL typo. Change-Id: I81b012588628acaeab43a3a8a4d85bc187e38c0f --- src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java b/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java index 8be3d4a..fb46217 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java @@ -48,7 +48,7 @@ public class LazychatResource { Role world = Role.find("from Role r join r.tags tag where tag = 'world'").singleResult(); lazychatMessages = Bookmark.find( - "select bm from LazychatMessage lm join lm.targets target left join fetch lm.owner where target = ?1", + "select lm from LazychatMessage lm join lm.targets target left join fetch lm.owner where target = ?1", Sort.by("date").descending(), world) .list(); -- cgit v1.2.3