Hello! I've read that a "keys only" query is much faster than a normal query, so I want to use this for pagination. But the setKeysOnly() is only applicable to com.google.appengine.api.datastore.Query, not also javax.jdo.Query.
I've been using JDO so far, so is there a way to tell JDO you're asking only for keys? I'm trying to do pagination, so at a given moment i will have to skip through entitites, beyond the well known 1000 limit. So i was thinking of making conscutive (key only!) queries of (max) 1000 entities, with the filter: key > "key of last element fetched by the previous query". When i reach the the entities i need to display i will call pm.getObjectsById() on the last set of keys. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---