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

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

Hi Gaurav,
Server Side paging is not yet supported with OData2 JPA processor. See - 
https://issues.apache.org/jira/browse/OLINGO-27 for more details.

Secondly ODataJPAProcessorDefault is internal and should not be extended. If 
you extend the ODataJPAProcessorDefault then your application will not work in 
an OSGi environment.

If you need to create your own processor that needs to work with JPA then 
create a processor by extending ODataJPAProcessor. Then you could use
A) org.apache.olingo.odata2.jpa.processor.api.access.JPAProcessor for 
processing OData requests
B) org.apache.olingo.odata2.jpa.processor.api.ODataJPAResponseBuilder for 
building OData responses.

The above two classes are instantiated and stored as member variables in 
ODataJPAProcessor.

Regards
Chandan


> 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