commit | 9d9e07b4064c7cca4fc6d15dadf50e6f6a509639 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sun Feb 09 20:05:43 2020 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sun Feb 09 20:05:43 2020 +0100 |
tree | 87456f5ffcb140b5e5b3e520b49484b36544f2c1 | |
parent | 19e0584c60c3c3b3814771c97415f046e37e375a [diff] |
Fix HQL typo. Change-Id: I81b012588628acaeab43a3a8a4d85bc187e38c0f
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 @@ 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();