You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2013/12/21 16:32:10 UTC

[jira] [Commented] (OLINGO-27) JPA server side paging

    [ https://issues.apache.org/jira/browse/OLINGO-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854874#comment-13854874 ] 

Chandan V.A commented on OLINGO-27:
-----------------------------------

[~klevenzs]
Is there a convenient way to add skip tokens to the OData response. 

This is what i did while building the OData Response

ODataEntityProviderPropertiesBuilder entityFeedPropertiesBuilder = null;
entityFeedPropertiesBuilder.nextLink("skip=200;top=200");

and this is what I got in the response

<link href="skip=200;top=200" rel=next />

Do we need to construct the entire URL like http://<host>:<port>/<ServiceRoot>/<Resource Collection>?$skiptoken=skip=200;top=200?

Can you please clarify.

regards
Chandan

> JPA server side paging
> ----------------------
>
>                 Key: OLINGO-27
>                 URL: https://issues.apache.org/jira/browse/OLINGO-27
>             Project: Olingo
>          Issue Type: New Feature
>          Components: odata2-jpa
>    Affects Versions: V2 1.1.0
>         Environment: OS X, Linux, Windows
>            Reporter: Carl J. Mosca
>            Assignee: Chandan V.A
>            Priority: Blocker
>              Labels: paging
>
> Server side paging is required for our use case.  A configurable hard-limit on page size is also needed.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)