The restriction I am referring to is mentioned here: http://code.google.com/appengine/docs/java/datastore/jdo/queries.html Scroll down to "Query Sort Orders" where it says:
Due to the way the App Engine datastore executes queries, if a query specifies inequality filters on a property and sort orders on other properties, the property used with the inequality filters must be ordered before the other properties. I'm not sure what you mean by "Entity query class"? On May 25, 2:15 pm, Brandon Donnelson <branflake2...@gmail.com> wrote: > What restrictions are you referring? Have you tried the entity query class, > the sort is a bit easier to set up. > > Query q = new Query("BlobTmpJdo"); > q.addFilter("key", FilterOperator.EQUAL, fbd.getKey()); > q.addSort("index"); > > Brandon Donnelsonhttp://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.