I'm a little confused by this.  Why doesn't the OP's approach work?

1) Create query, fetch with limit of 21 items
2) Iterate through 20 items
3) Get cursor to be used for next page (if necessary)
4) Iterate to 21st item just to check for existence

Why won't this work?  The documentation seems to imply that this is
how cursors work...

Jeff

On Thu, May 6, 2010 at 1:03 AM, Ikai L (Google) <[email protected]> wrote:
> This is a datastore limitation and not related to JDO/JPA, so you won't be
> able to do this in Objectify either (you can look at the low-level API, it
> doesn't provide this functionality). I believe I saw an issue in the issues
> tracker about creating cursors from arbitrary locations.
>
> --
> 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.
>

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