You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/10 07:08:21 UTC
[camel] branch main updated: Regen for commit b0ed9f0b6251ce823554da403262fd600ffbb739 (#10049)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new d18ee2ef43c Regen for commit b0ed9f0b6251ce823554da403262fd600ffbb739 (#10049)
d18ee2ef43c is described below
commit d18ee2ef43c8419f99e5b769dded7f7c927a7e21
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Wed May 10 09:08:13 2023 +0200
Regen for commit b0ed9f0b6251ce823554da403262fd600ffbb739 (#10049)
Signed-off-by: GitHub <no...@github.com>
Co-authored-by: oscerd <os...@users.noreply.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 45e1aca8964..47a0bbbc14f 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