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 714a56d3ec2b CAMEL-21873: camel-hibernate - options for both consumer 
and producer should be common options (#28530)
714a56d3ec2b is described below

commit 714a56d3ec2bd9cd6b666ff0e539be81ccb424e9
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Oct 26 20:25:44 2026 +0100

    CAMEL-21873: camel-hibernate - options for both consumer and producer 
should be common options (#28530)
    
    The selectionQuery, readOnly, filters and tenantIdentifier options were 
labelled
    producer,consumer which made the catalog group them as consumer options, 
causing
    the documentation examples to fail the catalog checks in 
CatalogDocExamplesTest.
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
---
 .../apache/camel/catalog/components/hibernate.json |  16 +-
 .../camel/component/hibernate/hibernate.json       |  16 +-
 .../component/hibernate/HibernateEndpoint.java     |  11 +-
 .../dsl/HibernateEndpointBuilderFactory.java       | 303 +++++++++++++++++++++
 4 files changed, 323 insertions(+), 23 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hibernate.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hibernate.json
index fa091adcb7bf..91efd41b5299 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hibernate.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hibernate.json
@@ -42,14 +42,14 @@
   },
   "properties": {
     "entityClassName": { "index": 0, "kind": "path", "displayName": "Entity 
Class Name", "group": "common", "label": "", "required": true, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "description": 
"Target entity class name" },
-    "consumeDelete": { "index": 1, "kind": "parameter", "displayName": 
"Consume Delete", "group": "consumer", "label": "consumer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to delete 
consumed entities after successful processing." },
-    "filters": { "index": 2, "kind": "parameter", "displayName": "Filters", 
"group": "consumer", "label": "producer,consumer", "required": false, "type": 
"object", "javaType": "java.util.Map<java.lang.String, 
java.util.Map<java.lang.String, java.lang.Object>>", "prefix": "filter.", 
"multiValue": true, "deprecated": false, "autowired": false, "secret": false, 
"description": "Hibernate filters and their parameter values. This is a 
multi-value option with prefix: filter." },
-    "maximumResults": { "index": 3, "kind": "parameter", "displayName": 
"Maximum Results", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "description": "The maximum number of entities to retrieve in 
a single poll." },
-    "readOnly": { "index": 4, "kind": "parameter", "displayName": "Read Only", 
"group": "consumer", "label": "producer,consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the Hibernate 
session and selection query should be read-only." },
-    "selectionQuery": { "index": 5, "kind": "parameter", "displayName": 
"Selection Query", "group": "consumer", "label": "producer,consumer", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
HQL selection query to execute." },
-    "sendEmptyMessageWhenIdle": { "index": 6, "kind": "parameter", 
"displayName": "Send Empty Message When Idle", "group": "consumer", "label": 
"consumer", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "If the polling consumer did not poll any files, you can 
enable this option to send an empty message (no body) instead." },
-    "skipLocked": { "index": 7, "kind": "parameter", "displayName": "Skip 
Locked", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the consumer 
should skip rows that are already locked by another consumer." },
-    "tenantIdentifier": { "index": 8, "kind": "parameter", "displayName": 
"Tenant Identifier", "group": "consumer", "label": "producer,consumer", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
tenant identifier used to create the Hibernate session." },
+    "filters": { "index": 1, "kind": "parameter", "displayName": "Filters", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.util.Map<java.lang.String, 
java.lang.Object>>", "prefix": "filter.", "multiValue": true, "deprecated": 
false, "autowired": false, "secret": false, "description": "Hibernate filters 
and their parameter values. This is a multi-value option with prefix: filter." 
},
+    "readOnly": { "index": 2, "kind": "parameter", "displayName": "Read Only", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Whether the Hibernate session and 
selection query should be read-only." },
+    "selectionQuery": { "index": 3, "kind": "parameter", "displayName": 
"Selection Query", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "The HQL selection query to execute." },
+    "tenantIdentifier": { "index": 4, "kind": "parameter", "displayName": 
"Tenant Identifier", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "The tenant identifier used to create 
the Hibernate session." },
+    "consumeDelete": { "index": 5, "kind": "parameter", "displayName": 
"Consume Delete", "group": "consumer", "label": "consumer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to delete 
consumed entities after successful processing." },
+    "maximumResults": { "index": 6, "kind": "parameter", "displayName": 
"Maximum Results", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "description": "The maximum number of entities to retrieve in 
a single poll." },
+    "sendEmptyMessageWhenIdle": { "index": 7, "kind": "parameter", 
"displayName": "Send Empty Message When Idle", "group": "consumer", "label": 
"consumer", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "If the polling consumer did not poll any files, you can 
enable this option to send an empty message (no body) instead." },
+    "skipLocked": { "index": 8, "kind": "parameter", "displayName": "Skip 
Locked", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the consumer 
should skip rows that are already locked by another consumer." },
     "bridgeErrorHandler": { "index": 9, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
     "exceptionHandler": { "index": 10, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By de [...]
     "exchangePattern": { "index": 11, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
diff --git 
a/components/camel-hibernate/src/generated/resources/META-INF/org/apache/camel/component/hibernate/hibernate.json
 
b/components/camel-hibernate/src/generated/resources/META-INF/org/apache/camel/component/hibernate/hibernate.json
index fa091adcb7bf..91efd41b5299 100644
--- 
a/components/camel-hibernate/src/generated/resources/META-INF/org/apache/camel/component/hibernate/hibernate.json
+++ 
b/components/camel-hibernate/src/generated/resources/META-INF/org/apache/camel/component/hibernate/hibernate.json
@@ -42,14 +42,14 @@
   },
   "properties": {
     "entityClassName": { "index": 0, "kind": "path", "displayName": "Entity 
Class Name", "group": "common", "label": "", "required": true, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "description": 
"Target entity class name" },
-    "consumeDelete": { "index": 1, "kind": "parameter", "displayName": 
"Consume Delete", "group": "consumer", "label": "consumer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to delete 
consumed entities after successful processing." },
-    "filters": { "index": 2, "kind": "parameter", "displayName": "Filters", 
"group": "consumer", "label": "producer,consumer", "required": false, "type": 
"object", "javaType": "java.util.Map<java.lang.String, 
java.util.Map<java.lang.String, java.lang.Object>>", "prefix": "filter.", 
"multiValue": true, "deprecated": false, "autowired": false, "secret": false, 
"description": "Hibernate filters and their parameter values. This is a 
multi-value option with prefix: filter." },
-    "maximumResults": { "index": 3, "kind": "parameter", "displayName": 
"Maximum Results", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "description": "The maximum number of entities to retrieve in 
a single poll." },
-    "readOnly": { "index": 4, "kind": "parameter", "displayName": "Read Only", 
"group": "consumer", "label": "producer,consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the Hibernate 
session and selection query should be read-only." },
-    "selectionQuery": { "index": 5, "kind": "parameter", "displayName": 
"Selection Query", "group": "consumer", "label": "producer,consumer", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
HQL selection query to execute." },
-    "sendEmptyMessageWhenIdle": { "index": 6, "kind": "parameter", 
"displayName": "Send Empty Message When Idle", "group": "consumer", "label": 
"consumer", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "If the polling consumer did not poll any files, you can 
enable this option to send an empty message (no body) instead." },
-    "skipLocked": { "index": 7, "kind": "parameter", "displayName": "Skip 
Locked", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the consumer 
should skip rows that are already locked by another consumer." },
-    "tenantIdentifier": { "index": 8, "kind": "parameter", "displayName": 
"Tenant Identifier", "group": "consumer", "label": "producer,consumer", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
tenant identifier used to create the Hibernate session." },
+    "filters": { "index": 1, "kind": "parameter", "displayName": "Filters", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.util.Map<java.lang.String, 
java.lang.Object>>", "prefix": "filter.", "multiValue": true, "deprecated": 
false, "autowired": false, "secret": false, "description": "Hibernate filters 
and their parameter values. This is a multi-value option with prefix: filter." 
},
+    "readOnly": { "index": 2, "kind": "parameter", "displayName": "Read Only", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Whether the Hibernate session and 
selection query should be read-only." },
+    "selectionQuery": { "index": 3, "kind": "parameter", "displayName": 
"Selection Query", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "The HQL selection query to execute." },
+    "tenantIdentifier": { "index": 4, "kind": "parameter", "displayName": 
"Tenant Identifier", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "The tenant identifier used to create 
the Hibernate session." },
+    "consumeDelete": { "index": 5, "kind": "parameter", "displayName": 
"Consume Delete", "group": "consumer", "label": "consumer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to delete 
consumed entities after successful processing." },
+    "maximumResults": { "index": 6, "kind": "parameter", "displayName": 
"Maximum Results", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "description": "The maximum number of entities to retrieve in 
a single poll." },
+    "sendEmptyMessageWhenIdle": { "index": 7, "kind": "parameter", 
"displayName": "Send Empty Message When Idle", "group": "consumer", "label": 
"consumer", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "If the polling consumer did not poll any files, you can 
enable this option to send an empty message (no body) instead." },
+    "skipLocked": { "index": 8, "kind": "parameter", "displayName": "Skip 
Locked", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the consumer 
should skip rows that are already locked by another consumer." },
     "bridgeErrorHandler": { "index": 9, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
     "exceptionHandler": { "index": 10, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By de [...]
     "exchangePattern": { "index": 11, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
diff --git 
a/components/camel-hibernate/src/main/java/org/apache/camel/component/hibernate/HibernateEndpoint.java
 
b/components/camel-hibernate/src/main/java/org/apache/camel/component/hibernate/HibernateEndpoint.java
index 179633d07535..acc690061b91 100644
--- 
a/components/camel-hibernate/src/main/java/org/apache/camel/component/hibernate/HibernateEndpoint.java
+++ 
b/components/camel-hibernate/src/main/java/org/apache/camel/component/hibernate/HibernateEndpoint.java
@@ -61,7 +61,7 @@ public class HibernateEndpoint extends ScheduledPollEndpoint {
     @Metadata(required = true)
     private String entityClassName;
 
-    @UriParam(description = "The HQL selection query to execute.", label = 
"producer,consumer")
+    @UriParam(description = "The HQL selection query to execute.")
     private String selectionQuery;
 
     @UriParam(description = "The HQL mutation query to execute.", label = 
"producer")
@@ -72,16 +72,13 @@ public class HibernateEndpoint extends 
ScheduledPollEndpoint {
     @Metadata(supportSimpleExpression = true)
     private Map<String, Object> naturalIdParameters;
 
-    @UriParam(description = "Whether the Hibernate session and selection query 
should be read-only.",
-              label = "producer,consumer")
+    @UriParam(description = "Whether the Hibernate session and selection query 
should be read-only.")
     private boolean readOnly;
 
-    @UriParam(description = "Hibernate filters and their parameter values.", 
label = "producer,consumer",
-              prefix = "filter.", multiValue = true)
+    @UriParam(description = "Hibernate filters and their parameter values.", 
prefix = "filter.", multiValue = true)
     private Map<String, Map<String, Object>> filters;
 
-    @UriParam(description = "The tenant identifier used to create the 
Hibernate session.",
-              label = "producer,consumer")
+    @UriParam(description = "The tenant identifier used to create the 
Hibernate session.")
     private String tenantIdentifier;
 
     public enum StatelessOperation {
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HibernateEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HibernateEndpointBuilderFactory.java
index dd55857b74a9..b53fd84994e2 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HibernateEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HibernateEndpointBuilderFactory.java
@@ -44,6 +44,107 @@ public interface HibernateEndpointBuilderFactory {
         default AdvancedHibernateEndpointConsumerBuilder advanced() {
             return (AdvancedHibernateEndpointConsumerBuilder) this;
         }
+        /**
+         * Hibernate filters and their parameter values. This is a multi-value
+         * option with prefix: filter.
+         * 
+         * The option is a: <code>java.util.Map&lt;java.lang.String,
+         * java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;</code>
+         * type.
+         * The option is multivalued, and you can use the filters(String,
+         * Object) method to add a value (call the method multiple times to set
+         * more values).
+         * 
+         * Group: common
+         * 
+         * @param key the option key
+         * @param value the option value
+         * @return the dsl builder
+         */
+        default HibernateEndpointConsumerBuilder filters(String key, Object 
value) {
+            doSetMultiValueProperty("filters", "filter." + key, value);
+            return this;
+        }
+        /**
+         * Hibernate filters and their parameter values. This is a multi-value
+         * option with prefix: filter.
+         * 
+         * The option is a: <code>java.util.Map&lt;java.lang.String,
+         * java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;</code>
+         * type.
+         * The option is multivalued, and you can use the filters(String,
+         * Object) method to add a value (call the method multiple times to set
+         * more values).
+         * 
+         * Group: common
+         * 
+         * @param values the values
+         * @return the dsl builder
+         */
+        default HibernateEndpointConsumerBuilder filters(Map values) {
+            doSetMultiValueProperties("filters", "filter.", values);
+            return this;
+        }
+        /**
+         * Whether the Hibernate session and selection query should be
+         * read-only.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param readOnly the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointConsumerBuilder readOnly(boolean readOnly) {
+            doSetProperty("readOnly", readOnly);
+            return this;
+        }
+        /**
+         * Whether the Hibernate session and selection query should be
+         * read-only.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param readOnly the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointConsumerBuilder readOnly(String readOnly) {
+            doSetProperty("readOnly", readOnly);
+            return this;
+        }
+        /**
+         * The HQL selection query to execute.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         * 
+         * @param selectionQuery the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointConsumerBuilder selectionQuery(String 
selectionQuery) {
+            doSetProperty("selectionQuery", selectionQuery);
+            return this;
+        }
+        /**
+         * The tenant identifier used to create the Hibernate session.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         * 
+         * @param tenantIdentifier the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointConsumerBuilder tenantIdentifier(String 
tenantIdentifier) {
+            doSetProperty("tenantIdentifier", tenantIdentifier);
+            return this;
+        }
         /**
          * Whether to delete consumed entities after successful processing.
          * 
@@ -799,6 +900,107 @@ public interface HibernateEndpointBuilderFactory {
             return (AdvancedHibernateEndpointProducerBuilder) this;
         }
 
+        /**
+         * Hibernate filters and their parameter values. This is a multi-value
+         * option with prefix: filter.
+         * 
+         * The option is a: <code>java.util.Map&lt;java.lang.String,
+         * java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;</code>
+         * type.
+         * The option is multivalued, and you can use the filters(String,
+         * Object) method to add a value (call the method multiple times to set
+         * more values).
+         * 
+         * Group: common
+         * 
+         * @param key the option key
+         * @param value the option value
+         * @return the dsl builder
+         */
+        default HibernateEndpointProducerBuilder filters(String key, Object 
value) {
+            doSetMultiValueProperty("filters", "filter." + key, value);
+            return this;
+        }
+        /**
+         * Hibernate filters and their parameter values. This is a multi-value
+         * option with prefix: filter.
+         * 
+         * The option is a: <code>java.util.Map&lt;java.lang.String,
+         * java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;</code>
+         * type.
+         * The option is multivalued, and you can use the filters(String,
+         * Object) method to add a value (call the method multiple times to set
+         * more values).
+         * 
+         * Group: common
+         * 
+         * @param values the values
+         * @return the dsl builder
+         */
+        default HibernateEndpointProducerBuilder filters(Map values) {
+            doSetMultiValueProperties("filters", "filter.", values);
+            return this;
+        }
+        /**
+         * Whether the Hibernate session and selection query should be
+         * read-only.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param readOnly the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointProducerBuilder readOnly(boolean readOnly) {
+            doSetProperty("readOnly", readOnly);
+            return this;
+        }
+        /**
+         * Whether the Hibernate session and selection query should be
+         * read-only.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param readOnly the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointProducerBuilder readOnly(String readOnly) {
+            doSetProperty("readOnly", readOnly);
+            return this;
+        }
+        /**
+         * The HQL selection query to execute.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         * 
+         * @param selectionQuery the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointProducerBuilder selectionQuery(String 
selectionQuery) {
+            doSetProperty("selectionQuery", selectionQuery);
+            return this;
+        }
+        /**
+         * The tenant identifier used to create the Hibernate session.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         * 
+         * @param tenantIdentifier the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointProducerBuilder tenantIdentifier(String 
tenantIdentifier) {
+            doSetProperty("tenantIdentifier", tenantIdentifier);
+            return this;
+        }
         /**
          * The HQL mutation query to execute.
          * 
@@ -983,6 +1185,107 @@ public interface HibernateEndpointBuilderFactory {
             return (AdvancedHibernateEndpointBuilder) this;
         }
 
+        /**
+         * Hibernate filters and their parameter values. This is a multi-value
+         * option with prefix: filter.
+         * 
+         * The option is a: <code>java.util.Map&lt;java.lang.String,
+         * java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;</code>
+         * type.
+         * The option is multivalued, and you can use the filters(String,
+         * Object) method to add a value (call the method multiple times to set
+         * more values).
+         * 
+         * Group: common
+         * 
+         * @param key the option key
+         * @param value the option value
+         * @return the dsl builder
+         */
+        default HibernateEndpointBuilder filters(String key, Object value) {
+            doSetMultiValueProperty("filters", "filter." + key, value);
+            return this;
+        }
+        /**
+         * Hibernate filters and their parameter values. This is a multi-value
+         * option with prefix: filter.
+         * 
+         * The option is a: <code>java.util.Map&lt;java.lang.String,
+         * java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;</code>
+         * type.
+         * The option is multivalued, and you can use the filters(String,
+         * Object) method to add a value (call the method multiple times to set
+         * more values).
+         * 
+         * Group: common
+         * 
+         * @param values the values
+         * @return the dsl builder
+         */
+        default HibernateEndpointBuilder filters(Map values) {
+            doSetMultiValueProperties("filters", "filter.", values);
+            return this;
+        }
+        /**
+         * Whether the Hibernate session and selection query should be
+         * read-only.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param readOnly the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointBuilder readOnly(boolean readOnly) {
+            doSetProperty("readOnly", readOnly);
+            return this;
+        }
+        /**
+         * Whether the Hibernate session and selection query should be
+         * read-only.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param readOnly the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointBuilder readOnly(String readOnly) {
+            doSetProperty("readOnly", readOnly);
+            return this;
+        }
+        /**
+         * The HQL selection query to execute.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         * 
+         * @param selectionQuery the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointBuilder selectionQuery(String selectionQuery) 
{
+            doSetProperty("selectionQuery", selectionQuery);
+            return this;
+        }
+        /**
+         * The tenant identifier used to create the Hibernate session.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         * 
+         * @param tenantIdentifier the value to set
+         * @return the dsl builder
+         */
+        default HibernateEndpointBuilder tenantIdentifier(String 
tenantIdentifier) {
+            doSetProperty("tenantIdentifier", tenantIdentifier);
+            return this;
+        }
     }
 
     /**

Reply via email to