I don't understand.  Can you explain a bit more?
I've tried this code. It works and I get 1490 items. Why?

PersistenceManager pm = PMF.get().getPersistenceManager();
Query qry = pm.newQuery("select from " + Person.class.getName() + "
where _age > 4");
qry.setRange(10,1500);
List<Person> persons = (List<Person>) qry.execute();


  fabrizio


On Dec 17, 3:17 pm, abhi <[email protected]> wrote:
> You sure will get all results , specially on offline mode , but you
> cant do paging in query for more than
> 1000 results ,with Query query = pm.newQuery(YORRQUERY);
>                 query.setRange(0 , 1001);

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to