This is an automated email from the ASF dual-hosted git repository. acosentino 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 dab3c53628a Regen for commit c273bdb172e651f21a837dbfbf2f51d0d2b5f4a6 dab3c53628a is described below commit dab3c53628afc127b76832974931cbae6354ba5f Author: davsclaus <davscl...@users.noreply.github.com> AuthorDate: Wed May 10 07:54:23 2023 +0000 Regen for commit c273bdb172e651f21a837dbfbf2f51d0d2b5f4a6 Signed-off-by: GitHub <nore...@github.com> --- .../endpoint/dsl/JpaEndpointBuilderFactory.java | 33 ++++++++++++++++++++++ 1 file changed, 33 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 4be8037c753..909f1f9d8b5 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 @@ -1601,6 +1601,39 @@ public interface JpaEndpointBuilderFactory { doSetProperty("remove", remove); return this; } + /** + * If enabled, a query or a find which would return no results or more + * than one result, will throw an exception instead. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: producer + * + * @param singleResult the value to set + * @return the dsl builder + */ + default JpaEndpointProducerBuilder singleResult(boolean singleResult) { + doSetProperty("singleResult", singleResult); + return this; + } + /** + * If enabled, a query or a find which would return no results or more + * than one result, will throw an exception instead. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: producer + * + * @param singleResult the value to set + * @return the dsl builder + */ + default JpaEndpointProducerBuilder singleResult(String singleResult) { + doSetProperty("singleResult", singleResult); + return this; + } /** * To configure whether to use executeUpdate() when producer executes a * query. When you use INSERT, UPDATE or DELETE statement as a named