It also works on Google App server ! Very strange....
My test jsp page:
....
<body>
<%
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();
%>
SIZE:<%=persons.size()%>
<hr />
<% for (Person p : persons) { %>
<%=p.getID()%>
<% }
pm.close(); %>
<hr />
.....
On Dec 17, 4:08 pm, abhi <[email protected]> wrote:
> That will work only on local mode , if you use it on server you will
> get .
> ... threw an unexpected exception: java.lang.IllegalArgumentException:
> offset may not be above 1000 ..
--
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.