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

Gaurav Garg commented on OLINGO-112:
------------------------------------

Hi Michael,

As you suggest that it is best practices to extend the OdataSingleProcessor, 
But in our application we are using JPA for database query. So what we have 
done is we have extended ODataJPAProcessorDefault for Application specific 
processor.
and to enable pagination in response I have extended ProviderFacadeImpl and 
overriding writeFeed method and there I've written all this code that you 
provided.
If I write this code in applicationProcessor then also we need the valueAccess 
Object to create skipToken. I stuck here itself that what is this valueAccess 
object.
can you please provide the Property type of valueAccess object
Thanks 

> how to do pagination
> --------------------
>
>                 Key: OLINGO-112
>                 URL: https://issues.apache.org/jira/browse/OLINGO-112
>             Project: Olingo
>          Issue Type: Question
>            Reporter: Gaurav Garg
>            Assignee: Michael Bolz
>
> I want to implement the pagination in my olingo application in which first 
> few records should be available and for next records there should be link 
> available.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to