mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING)
This commit is contained in:
1 parent
6ea8f5c12b
commit
ba80ae20f4
2 files changed
+10
No files matched your search
@@ -736,6 +736,8 @@ final class CQueryBuilder {
|
||||
return " order by count(*) desc, r1.attribute_";
|
||||
case COUNT_DESC_ATTR_DESC:
|
||||
return " order by count(*) desc, r1.attribute_ desc";
|
||||
case NO_ORDERING:
|
||||
return "";
|
||||
default:
|
||||
throw new IllegalArgumentException("Illegal enum: " + orderBy);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user