Near the line

  q.setRange(pageModel.getStartPos()-1, pageModel.getEndPos());

in your findByType(...) method

have you tried checking the values

  pageModel.getStartPos() - 1

and

  pageModel.getEndPos()

just to verify that they hold valid values?

You could also try

  q.setRange(0, 1);

instead, just to verify that all your other datastore exchange code
works.


On Jan 20, 4:58 am, [email protected] wrote:
> the getAll() method is ok, but findByType() method will fail.

-- 
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