OrderBy clause in DefaultQuery
Nathan Kontny <Nathan.Kontny-UgwZ4owrJFB8UrSeD/[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
The QueryService is forcing me to have an OrderBy clause. Is this a bug?
The bindParameters method has:
if ((myStatement.toString().toUpperCase().indexOf("ORDER BY "))
== -1) {
log.info("sindex not found, so append");
myStatement.append("\n ORDER BY $orderByClause ");