Querying datastore using cursors with JDO

33 views
Skip to first unread message

Yonatan Back

unread,
Dec 13, 2015, 4:47:31 AM12/13/15
to Google App Engine
I'm trying to query my app's datastore for a large amount of data - approx. 3000000 entities, over the 60-second timeout.
So I've implemented cursors according to the tutorial here, and it works for the first time - meaning if I send a null cursor I get the first 100 results and a cursor string, and when I send the second request with the cursor string I get the next 100 results.
Problem is - I always get the same cursor string, and the same results when I send it.

Is this a bug? An issue when using Spring (I've read that Spring doesn't play well with GAE)?

Thanks for any help, I'm working on this for a while now...

Adam

unread,
Dec 13, 2015, 4:23:22 PM12/13/15
to Google App Engine
This seems like a question that would be better posted to StackOverflow, rather than a discussion post. The google-appengine group is intended more for general discussion rather than 1-on-1 support assistance. Please see the main Community Support page for a list of the tags we monitor.

Cheers,

Adam
Cloud Platform Support
Reply all
Reply to author
Forward
0 new messages