This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push: new 48b24f1ff71 Regen for commit dab12c89eb67603dedaade7ef9c3e1d67ce74bb3 (#9980) 48b24f1ff71 is described below commit 48b24f1ff71d2e8d766d512f94b07d6171c46cda Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue May 2 21:19:59 2023 +0200 Regen for commit dab12c89eb67603dedaade7ef9c3e1d67ce74bb3 (#9980) Signed-off-by: GitHub <nore...@github.com> Co-authored-by: davsclaus <davscl...@users.noreply.github.com> --- .../endpoint/dsl/JpaEndpointBuilderFactory.java | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JpaEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JpaEndpointBuilderFactory.java index abb5a55c51a..4be8037c753 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JpaEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JpaEndpointBuilderFactory.java @@ -1509,6 +1509,36 @@ public interface JpaEndpointBuilderFactory { doSetProperty("findEntity", findEntity); return this; } + /** + * Set the position of the first result to retrieve. + * + * The option is a: <code>int</code> type. + * + * Default: -1 + * Group: producer + * + * @param firstResult the value to set + * @return the dsl builder + */ + default JpaEndpointProducerBuilder firstResult(int firstResult) { + doSetProperty("firstResult", firstResult); + return this; + } + /** + * Set the position of the first result to retrieve. + * + * The option will be converted to a <code>int</code> type. + * + * Default: -1 + * Group: producer + * + * @param firstResult the value to set + * @return the dsl builder + */ + default JpaEndpointProducerBuilder firstResult(String firstResult) { + doSetProperty("firstResult", firstResult); + return this; + } /** * Flushes the EntityManager after the entity bean has been persisted. * @@ -2182,6 +2212,34 @@ public interface JpaEndpointBuilderFactory { public String jpaParameters() { return "JpaParameters"; } + + /** + * Defines the maximum number of results to retrieve on the query; takes + * precedence over the value set on the endpoint, if any. + * + * The option is a: {@code } type. + * + * Group: producer + * + * @return the name of the header {@code JpaMaximumResults}. + */ + public String jpaMaximumResults() { + return "JpaMaximumResults"; + } + + /** + * Defines the position of the first result to retrieve; takes + * precedence over the value set on the endpoint, if any. + * + * The option is a: {@code } type. + * + * Group: producer + * + * @return the name of the header {@code JpaFirstResult}. + */ + public String jpaFirstResult() { + return "JpaFirstResult"; + } } static JpaEndpointBuilder endpointBuilder(String componentName, String path) { class JpaEndpointBuilderImpl extends AbstractEndpointBuilder implements JpaEndpointBuilder, AdvancedJpaEndpointBuilder {