#1765 - Wrong SQL generated on m2m and OrderBy (Regression of #1746)

This commit is contained in:
rob bygrave
2019-07-19 10:43:07 +12:00
parent 8b670fd615
commit bcb136b692
3 changed files with 42 additions and 7 deletions
+1 -1
View File
@@ -412,7 +412,7 @@ public final class OrderBy<T> implements Serializable {
* Support use in select clause if no collation or nulls ordering.
*/
boolean supportsSelect() {
return nulls == null && collation == null;
return nulls == null;
}
}