[
https://issues.apache.org/jira/browse/OLINGO-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903821#comment-13903821
]
Chandan V.A commented on OLINGO-27:
-----------------------------------
Hi [~carljmosca]
You need to use the method setPageSize() for setting the page size. The JPA
Processor will then work on this page size to create a JPAPage (implementing
the interface JPAPaging).
Now if you want to create your own Response builder (by implementing
ODataJPAResponseBuilder interface) then you could use this JPAPaging to get
details on JPAPage. ODataJPAResponseBuilderDefault uses this interface for
accessing the JPAPage that was created by the JPAProcessorImpl.
Thanks
Kind 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
> Fix For: V2 1.2.0
>
>
> 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.5#6160)