I am using JDO .So which option is best cursors or setRange?

On Wed, Jun 9, 2010 at 1:47 PM, Nacho Coloma <[email protected]> wrote:

> You should specify if you are using JDO, JPA or other. SimpleDS has a
> PagedQuery implementation that can be ported to your own environment.
> Look for getFetchOptions() in this link:
>
>
> http://code.google.com/p/simpleds/source/browse/trunk/src/main/java/org/simpleds/PagedQuery.java
>
> This will only resolve the paging, and it's not optimal but convenient
> (can jump to a specific page etc). For an optimal solution, use
> cursors.
>
> On Jun 9, 7:36 am, RAVINDER MAAN <[email protected]> wrote:
> > Hello all
> >     how can i get my query result sorted based on creationdate and
> > also i want to do pagination for the same.what is the best way to do
> > that.can anybody refer me any example code?
> > Thanks
>
> --
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Regards,
Ravinder Singh Maan

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