summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-09 20:05:43 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-09 20:05:43 +0100
commit9d9e07b4064c7cca4fc6d15dadf50e6f6a509639 (patch)
tree87456f5ffcb140b5e5b3e520b49484b36544f2c1
parent19e0584c60c3c3b3814771c97415f046e37e375a (diff)
Fix HQL typo.
Change-Id: I81b012588628acaeab43a3a8a4d85bc187e38c0f
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java2
1 files changed, 1 insertions, 1 deletions
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();