You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/02 12:54:00 UTC

[jira] [Updated] (CAMEL-19304) JPA paging support

     [ https://issues.apache.org/jira/browse/CAMEL-19304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-19304:
--------------------------------
    Fix Version/s: 3.21.0
                   4.0-RC1
                   4.0

> JPA paging support
> ------------------
>
>                 Key: CAMEL-19304
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19304
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Jacek SzymaƄski
>            Priority: Minor
>             Fix For: 3.21.0, 4.0-RC1, 4.0
>
>
> Camel JPA endpoint supports option maximumResults, but this is not enough to implement paging. Also, there is no way to specify offset apart from nativeQuery.
> maximumResults is static on the endpoint; it may be specified dynamically only using toD, but this means creating dynamic endpoints.
> This PR addresses the above:
> - adds support for firstResult
> - both maximumResults and firstResult may be specified in message headers, these override values specified on the endpoint, if any



--
This message was sent by Atlassian Jira
(v8.20.10#820010)