Re: OrderBy clause in DefaultQuery
"Michael Nash JGlobal.com" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Organization | JGlobal |
| Message-ID | <20040404111010.6e279cb5@jglobal> |
Nathan: I don't think the query service should *insist* on an Order by, so I'd have to say it's a bug - I suppose it's a matter of perspective, but I'd call it a bug :-) Ideally, I'd think that query should allow you to have whatever SQL you want to have, for maximum flexibility. Mike On Sun, 4 Apr 2004 00:13:56 -0800 Nathan Kontny <Nathan.Kontny-UgwZ4owrJFB8UrSeD/[email protected]> wrote: > 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 "); > > _______________________________________________ > User mailing list > [email protected] > http://lists.keelframework.org/listinfo.cgi/user-keelframework.org -- Michael Nash JGlobal Ltd Next-Generation Web Application Development and Open Source Support http://www.jglobal.com Bahamas Commerce and Trade Offshore eCommerce Hosting and Business Services http://www.bahamascommerce.com