From 0b649159a6b9a4261da1962e6f8f4a6d9d4eb688 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 13 Sep 2023 02:04:10 +0000 Subject: [PATCH] Sync documentation of main branch --- _data/versioned/main/index/quarkus.yaml | 30 +- ...rpc.runtime.config.GrpcClientConfiguration | 2 +- ...rkus.grpc.runtime.config.GrpcConfiguration | 2 +- ...group-data-source-jdbc-runtime-config.adoc | 16 +- ...ource-jdbc-outer-named-runtime-config.adoc | 16 +- .../quarkus-agroal-general-config-items.adoc | 16 +- .../main/config/quarkus-agroal.adoc | 16 +- .../main/config/quarkus-all-config.adoc | 18 +- .../config/quarkus-cache-cache-config.adoc | 16 +- ...caffeine-config-caffeine-cache-config.adoc | 16 +- ...ig-group-cache-config-caffeine-config.adoc | 16 +- .../quarkus-cache-general-config-items.adoc | 16 +- ...g-group-redis-cache-build-time-config.adoc | 85 +- ...nfig-group-redis-cache-runtime-config.adoc | 50 +- ...rkus-cache-redis-general-config-items.adoc | 16 +- ...-redis-redis-caches-build-time-config.adoc | 85 +- ...arkus-cache-redis-redis-caches-config.adoc | 50 +- .../main/config/quarkus-cache-redis.adoc | 16 +- _generated-doc/main/config/quarkus-cache.adoc | 16 +- .../quarkus-container-image-openshift.adoc | 16 +- .../config/quarkus-container-image-s2i.adoc | 16 +- _generated-doc/main/config/quarkus-core.adoc | 88 +- ...us-csrf-reactive-csrf-reactive-config.adoc | 16 +- .../main/config/quarkus-csrf-reactive.adoc | 16 +- ...urce-data-sources-jdbc-runtime-config.adoc | 16 +- ...-data-sources-reactive-runtime-config.adoc | 16 +- ...us-elasticsearch-elasticsearch-config.adoc | 16 +- ...elasticsearch-config-discovery-config.adoc | 16 +- ...tclient-lowlevel-general-config-items.adoc | 16 +- ...kus-elasticsearch-restclient-lowlevel.adoc | 16 +- ...curity-ldap-config-dir-context-config.adoc | 16 +- ...on-security-ldap-general-config-items.adoc | 16 +- .../config/quarkus-elytron-security-ldap.adoc | 16 +- ...oup-flyway-data-source-runtime-config.adoc | 16 +- .../quarkus-flyway-flyway-runtime-config.adoc | 16 +- .../quarkus-flyway-general-config-items.adoc | 16 +- .../main/config/quarkus-flyway.adoc | 16 +- ...roup-config-grpc-client-configuration.adoc | 18 +- ...roup-config-grpc-server-configuration.adoc | 16 +- ...group-config-grpc-server-netty-config.adoc | 16 +- ...uarkus-grpc-config-grpc-configuration.adoc | 18 +- .../quarkus-grpc-general-config-items.adoc | 18 +- _generated-doc/main/config/quarkus-grpc.adoc | 18 +- ...-config-hibernate-orm-config-database.adoc | 85 -- ...e-orm-config-hibernate-orm-config-log.adoc | 70 -- ...ate-orm-config-persistence-unit-cache.adoc | 16 +- ...hibernate-orm-config-persistence-unit.adoc | 288 +----- ...us-hibernate-orm-general-config-items.adoc | 950 +++++++++--------- ...us-hibernate-orm-hibernate-orm-config.adoc | 443 +------- .../main/config/quarkus-hibernate-orm.adoc | 950 +++++++++--------- ...config-persistence-unit-agents-config.adoc | 16 +- ...-persistence-unit-coordination-config.adoc | 16 +- ...lling-runtime-config-persistence-unit.adoc | 16 +- ...on-outboxpolling-general-config-items.adoc | 16 +- ...search-orm-coordination-outboxpolling.adoc | 16 +- ...-elasticsearch-backend-runtime-config.adoc | 16 +- ...it-elasticsearch-index-runtime-config.adoc | 16 +- ...earch-runtime-config-persistence-unit.adoc | 16 +- ...rm-elasticsearch-general-config-items.adoc | 16 +- ...us-hibernate-search-orm-elasticsearch.adoc | 16 +- ...e-search-elasticsearch-runtime-config.adoc | 16 +- ...-search-outbox-polling-runtime-config.adoc | 16 +- .../quarkus-http-http-build-time-config.adoc | 16 +- .../quarkus-http-http-configuration.adoc | 16 +- .../config/quarkus-jaeger-jaeger-config.adoc | 16 +- .../main/config/quarkus-jaeger.adoc | 16 +- ...-kafka-dev-services-build-time-config.adoc | 16 +- ...kus-kafka-client-general-config-items.adoc | 16 +- .../main/config/quarkus-kafka-client.adoc | 16 +- ...quarkus-kafka-kafka-build-time-config.adoc | 16 +- ...afka-streams-config-group-sasl-config.adoc | 16 +- ...us-kafka-streams-general-config-items.adoc | 16 +- ...-streams-kafka-streams-runtime-config.adoc | 16 +- .../main/config/quarkus-kafka-streams.adoc | 16 +- .../quarkus-knative-knative-config.adoc | 16 +- ...client-kubernetes-client-build-config.adoc | 16 +- .../config/quarkus-kubernetes-client.adoc | 16 +- ...ernetes-config-group-container-config.adoc | 16 +- ...-kubernetes-config-group-probe-config.adoc | 16 +- ...arkus-kubernetes-general-config-items.adoc | 16 +- .../quarkus-kubernetes-kubernetes-config.adoc | 16 +- .../main/config/quarkus-kubernetes.adoc | 16 +- ...uarkus-live-reload-live-reload-config.adoc | 16 +- ...er-config-group-mailer-runtime-config.adoc | 16 +- .../quarkus-mailer-general-config-items.adoc | 16 +- ...quarkus-mailer-mailers-runtime-config.adoc | 16 +- .../main/config/quarkus-mailer.adoc | 16 +- ...nt-management-interface-configuration.adoc | 16 +- ...config-group-config-json-config-group.adoc | 16 +- ...onfig-micrometer-config-export-config.adoc | 16 +- ...s-micrometer-config-micrometer-config.adoc | 16 +- ...arkus-micrometer-general-config-items.adoc | 16 +- .../main/config/quarkus-micrometer.adoc | 16 +- ...godb-config-group-mongo-client-config.adoc | 16 +- ...odb-config-group-write-concern-config.adoc | 16 +- .../quarkus-mongodb-general-config-items.adoc | 16 +- .../quarkus-mongodb-mongodb-config.adoc | 16 +- .../main/config/quarkus-mongodb.adoc | 16 +- .../main/config/quarkus-narayana-jta.adoc | 16 +- ...rkus-oidc-client-general-config-items.adoc | 16 +- ...uarkus-oidc-client-oidc-client-config.adoc | 16 +- ...arkus-oidc-client-oidc-clients-config.adoc | 16 +- .../main/config/quarkus-oidc-client.adoc | 16 +- ...arkus-oidc-config-group-dev-ui-config.adoc | 16 +- ...-config-group-oidc-config-token-cache.adoc | 16 +- .../quarkus-oidc-general-config-items.adoc | 16 +- .../quarkus-oidc-oidc-build-time-config.adoc | 16 +- .../main/config/quarkus-oidc-oidc-config.adoc | 16 +- ...idc-oidc-tenant-config-authentication.adoc | 16 +- ...uarkus-oidc-oidc-tenant-config-logout.adoc | 16 +- ...quarkus-oidc-oidc-tenant-config-token.adoc | 16 +- .../quarkus-oidc-oidc-tenant-config.adoc | 16 +- _generated-doc/main/config/quarkus-oidc.adoc | 16 +- ...hift-container-image-openshift-config.adoc | 16 +- .../quarkus-openshift-openshift-config.adoc | 16 +- ...g-runtime-batch-span-processor-config.adoc | 16 +- ...-exporter-otlp-exporter-traces-config.adoc | 16 +- ...us-opentelemetry-general-config-items.adoc | 16 +- .../main/config/quarkus-opentelemetry.adoc | 16 +- ...l-config-runtime-o-tel-runtime-config.adoc | 16 +- ...exporter-otlp-exporter-runtime-config.adoc | 16 +- .../quarkus-quartz-quartz-runtime-config.adoc | 16 +- .../main/config/quarkus-quartz.adoc | 16 +- ...p-data-source-reactive-runtime-config.adoc | 16 +- ...e-reactive-outer-named-runtime-config.adoc | 16 +- ...ctive-datasource-general-config-items.adoc | 16 +- .../config/quarkus-reactive-datasource.adoc | 16 +- ...rkus-redis-client-config-redis-config.adoc | 16 +- ...config-group-client-config-net-config.adoc | 16 +- ...oup-client-config-redis-client-config.adoc | 16 +- .../quarkus-redis-general-config-items.adoc | 16 +- _generated-doc/main/config/quarkus-redis.adoc | 16 +- ...uarkus-s2i-container-image-s2i-config.adoc | 16 +- .../main/config/quarkus-s2i-s2i-config.adoc | 16 +- ...us-scheduler-scheduler-runtime-config.adoc | 16 +- .../main/config/quarkus-scheduler.adoc | 16 +- ...ig-ldap-security-realm-runtime-config.adoc | 16 +- .../config/quarkus-security-webauthn.adoc | 16 +- ...kus-shutdown-shutdown-shutdown-config.adoc | 16 +- ...rkus-smallrye-reactivemessaging-kafka.adoc | 28 +- .../quarkus-spring-cloud-config-client.adoc | 16 +- ...fig-spring-cloud-config-client-config.adoc | 16 +- ...uarkus-thread-pool-thread-pool-config.adoc | 16 +- ...ger-transaction-manager-configuration.adoc | 16 +- ...rkus-vertx-config-vertx-configuration.adoc | 16 +- ...config-address-resolver-configuration.adoc | 16 +- ...ig-group-config-cluster-configuration.adoc | 16 +- ...-group-config-event-bus-configuration.adoc | 16 +- ...arkus-vertx-core-general-config-items.adoc | 16 +- .../main/config/quarkus-vertx-core.adoc | 16 +- ...s-vertx-http-config-group-auth-config.adoc | 16 +- ...tx-http-config-group-cors-cors-config.adoc | 16 +- ...tx-http-config-group-form-auth-config.adoc | 16 +- ...-config-group-static-resources-config.adoc | 16 +- ...arkus-vertx-http-general-config-items.adoc | 16 +- .../main/config/quarkus-vertx-http.adoc | 16 +- ...irtual-threads-virtual-threads-config.adoc | 16 +- .../main/config/quarkus-virtual-threads.adoc | 16 +- ...ty-webauthn-web-authn-run-time-config.adoc | 16 +- .../_includes/duration-format-note.adoc | 17 +- 160 files changed, 2743 insertions(+), 2794 deletions(-) diff --git a/_data/versioned/main/index/quarkus.yaml b/_data/versioned/main/index/quarkus.yaml index 90e8323cc3..a66c0eaaab 100644 --- a/_data/versioned/main/index/quarkus.yaml +++ b/_data/versioned/main/index/quarkus.yaml @@ -30,7 +30,7 @@ types: - title: Configure data sources in Quarkus filename: datasource.adoc summary: Use a unified configuration model to define datasources for Java Database Connectivity (JDBC) and Reactive drivers. - categories: "getting-started, data" + categories: "data, getting-started" id: datasources type: reference url: /guides/datasource @@ -55,7 +55,7 @@ types: - title: Logging configuration filename: logging.adoc summary: "Read about the use of logging API in Quarkus, configuring logging output, and using logging adapters to unify the output from other logging APIs." - categories: "core, getting-started, observability" + categories: "getting-started, core, observability" id: logging type: reference url: /guides/logging @@ -180,7 +180,7 @@ types: - title: "Duplicated context, context locals, asynchronous processing and propagation" filename: duplicated-context.adoc summary: "When using a traditional, blocking, and synchronous framework, processing of each request is performed in a dedicated thread." - categories: "core, architecture" + categories: "architecture, core" id: duplicated-context type: concepts url: /guides/duplicated-context @@ -236,7 +236,7 @@ types: - title: Security vulnerability detection and reporting in Quarkus filename: security-vulnerability-detection.adoc summary: Most of the Quarkus tags are registered in the US National Vulnerability Database (NVD) in Common Platform Enumeration (CPE) name format. - categories: "contributing, security" + categories: "security, contributing" id: security-vulnerability-detection type: concepts url: /guides/security-vulnerability-detection @@ -265,7 +265,7 @@ types: - title: Use virtual threads in REST applications filename: resteasy-reactive-virtual-threads.adoc summary: How to use virtual threads in a REST application - categories: "core, web" + categories: "web, core" id: resteasy-reactive-virtual-threads type: howto url: /guides/resteasy-reactive-virtual-threads @@ -273,7 +273,7 @@ types: - title: Building a Native Executable filename: building-native-image.adoc summary: Build native executables with GraalVM or Mandrel. - categories: "getting-started, native" + categories: "native, getting-started" type: tutorial url: /guides/building-native-image - title: Collect metrics using Micrometer @@ -338,7 +338,7 @@ types: - title: Your second Quarkus application filename: getting-started-dev-services.adoc summary: This tutorial shows you how to create an application which writes to and reads from a database. - categories: "core, getting-started, data" + categories: "data, getting-started, core" id: getting-started-dev-services-tutorial type: tutorial url: /guides/getting-started-dev-services @@ -394,7 +394,7 @@ types: - title: AppCDS filename: appcds.adoc summary: This reference guide explains how to enable AppCDS with Quarkus. - categories: "core, cloud" + categories: "cloud, core" type: guide url: /guides/appcds - title: Application Data Caching @@ -1033,7 +1033,7 @@ types: - title: Simplified Hibernate ORM with Panache and Kotlin filename: hibernate-orm-panache-kotlin.adoc summary: This explains the specifics of using Hibernate ORM with Panache in a Kotlin project. - categories: "data, alt-languages" + categories: "alt-languages, data" type: guide url: /guides/hibernate-orm-panache-kotlin - title: Simplified Hibernate Reactive with Panache @@ -1051,13 +1051,13 @@ types: - title: Simplified MongoDB with Panache and Kotlin filename: mongodb-panache-kotlin.adoc summary: This guide covers the usage of MongoDB using active records and repositories in a Kotlin project. - categories: "data, alt-languages" + categories: "alt-languages, data" type: guide url: /guides/mongodb-panache-kotlin - title: SmallRye Fault Tolerance filename: smallrye-fault-tolerance.adoc summary: This guide demonstrates how your Quarkus application can utilize the SmallRye Fault Tolerance specification through the SmallRye Fault Tolerance extension. - categories: "observability, web" + categories: "web, observability" type: guide url: /guides/smallrye-fault-tolerance - title: SmallRye GraphQL @@ -1087,14 +1087,14 @@ types: - title: Testing Your Application filename: getting-started-testing.adoc summary: "This guide covers testing in JVM mode, native mode, and injection of resources into tests" - categories: "core, native, tooling" + categories: "native, tooling, core" id: testing type: guide url: /guides/getting-started-testing - title: Tips for writing native applications filename: writing-native-applications-tips.adoc summary: This guide is a collection of tips to help you solve the problems you encounter when compiling applications to native executable. - categories: "core, writing-extensions, native" + categories: "writing-extensions, native, core" type: guide url: /guides/writing-native-applications-tips - title: Using Apache Kafka Streams @@ -1223,7 +1223,7 @@ types: - title: Using SSL With Native Executables filename: native-and-ssl.adoc summary: "In this guide, we will discuss how you can get your native images to support SSL, as native images don't support it out of the box." - categories: "core, security, native" + categories: "security, native, core" type: guide url: /guides/native-and-ssl - title: Using Security with .properties File @@ -1342,7 +1342,7 @@ types: - title: Writing JSON REST Services filename: rest-json.adoc summary: JSON is now the lingua franca between microservices. - categories: "serialization, web" + categories: "web, serialization" type: guide url: /guides/rest-json - title: Writing REST Services with RESTEasy Reactive diff --git a/_generated-doc/main/config/all-configuration-groups-generated-doc/io.quarkus.grpc.runtime.config.GrpcClientConfiguration b/_generated-doc/main/config/all-configuration-groups-generated-doc/io.quarkus.grpc.runtime.config.GrpcClientConfiguration index f191ee44be..b2e44634e2 100644 --- a/_generated-doc/main/config/all-configuration-groups-generated-doc/io.quarkus.grpc.runtime.config.GrpcClientConfiguration +++ b/_generated-doc/main/config/all-configuration-groups-generated-doc/io.quarkus.grpc.runtime.config.GrpcClientConfiguration @@ -1 +1 @@ -[{"configDocKey":{"type":"boolean","key":".use-quarkus-grpc-client","additionalKeys":[],"configDoc":"Use new Vert.x gRPC client support. By default, we still use previous Java gRPC support.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"use-quarkus-grpc-client","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".xds","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.ClientXds","showSection":false,"configDocItems":[{"configDocKey":{"type":"boolean","key":".xds.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of XDS.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"boolean","key":".xds.secure","additionalKeys":[],"configDoc":"Use secure credentials.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"secure","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".xds.target","additionalKeys":[],"configDoc":"Optional explicit target.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"target","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".in-process","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.InProcess","showSection":false,"configDocItems":[{"configDocKey":{"type":"boolean","key":".in-process.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of in-process.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".in-process.name","additionalKeys":[],"configDoc":"Set in-process name.","withinAMap":false,"defaultValue":"quarkus-grpc","javaDocSiteLink":"","docMapKey":"name","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".stork","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.StorkConfig","showSection":false,"configDocItems":[{"configDocKey":{"type":"int","key":".stork.threads","additionalKeys":[],"configDoc":"Number of threads on a delayed gRPC ClientCall","withinAMap":false,"defaultValue":"10","javaDocSiteLink":"","docMapKey":"threads","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"long","key":".stork.deadline","additionalKeys":[],"configDoc":"Deadline in milliseconds of delayed gRPC call","withinAMap":false,"defaultValue":"5000","javaDocSiteLink":"","docMapKey":"deadline","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"int","key":".stork.retries","additionalKeys":[],"configDoc":"Number of retries on a gRPC ClientCall","withinAMap":false,"defaultValue":"3","javaDocSiteLink":"","docMapKey":"retries","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"long","key":".stork.delay","additionalKeys":[],"configDoc":"Initial delay in seconds on refresh check","withinAMap":false,"defaultValue":"60","javaDocSiteLink":"","docMapKey":"delay","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"long","key":".stork.period","additionalKeys":[],"configDoc":"Refresh period in seconds","withinAMap":false,"defaultValue":"120","javaDocSiteLink":"","docMapKey":"period","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocKey":{"type":"int","key":".port","additionalKeys":[],"configDoc":"The gRPC service port.","withinAMap":false,"defaultValue":"9000","javaDocSiteLink":"","docMapKey":"port","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".host","additionalKeys":[],"configDoc":"The host name / IP on which the service is exposed.","withinAMap":false,"defaultValue":"localhost","javaDocSiteLink":"","docMapKey":"host","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".ssl","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.SslClientConfig","showSection":false,"configDocItems":[{"configDocKey":{"type":"path","key":".ssl.certificate","additionalKeys":[],"configDoc":"The classpath path or file path to a server certificate or certificate chain in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"path","key":".ssl.key","additionalKeys":[],"configDoc":"The classpath path or file path to the corresponding certificate private key file in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"path","key":".ssl.trust-store","additionalKeys":[],"configDoc":"An optional trust store which holds the certificate information of the certificates to trust The trust store can be either on classpath or in an external file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocKey":{"type":"string","key":".name-resolver","additionalKeys":[],"configDoc":"Use a name resolver. Defaults to dns. If set to \"stork\", host will be treated as SmallRye Stork service name","withinAMap":false,"defaultValue":"dns","javaDocSiteLink":"","docMapKey":"name-resolver","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Boolean","key":".plain-text","additionalKeys":[],"configDoc":"Whether `plain-text` should be used instead of `TLS`. Enabled by default, except if TLS/SSL is configured. In this case, `plain-text` is disabled.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"plain-text","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".keep-alive-time","additionalKeys":[],"configDoc":"The duration after which a keep alive ping is sent.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-time","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".flow-control-window","additionalKeys":[],"configDoc":"The flow control window in bytes. Default is 1MiB.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"flow-control-window","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".idle-timeout","additionalKeys":[],"configDoc":"The duration without ongoing RPCs before going to idle mode.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"idle-timeout","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".keep-alive-timeout","additionalKeys":[],"configDoc":"The amount of time the sender of a keep alive ping waits for an acknowledgement.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-timeout","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"boolean","key":".keep-alive-without-calls","additionalKeys":[],"configDoc":"Whether keep-alive will be performed when there are no outstanding RPC on a connection.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"keep-alive-without-calls","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"int","key":".max-hedged-attempts","additionalKeys":[],"configDoc":"The max number of hedged attempts.","withinAMap":false,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-hedged-attempts","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"int","key":".max-retry-attempts","additionalKeys":[],"configDoc":"The max number of retry attempts. Retry must be explicitly enabled.","withinAMap":false,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-retry-attempts","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".max-trace-events","additionalKeys":[],"configDoc":"The maximum number of channel trace events to keep in the tracer for each channel or sub-channel.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-trace-events","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".max-inbound-message-size","additionalKeys":[],"configDoc":"The maximum message size allowed for a single gRPC frame (in bytes). Default is 4 MiB.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-message-size","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".max-inbound-metadata-size","additionalKeys":[],"configDoc":"The maximum size of metadata allowed to be received (in bytes). Default is 8192B.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-metadata-size","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".negotiation-type","additionalKeys":[],"configDoc":"The negotiation type for the HTTP/2 connection. Accepted values are: `TLS`, `PLAINTEXT_UPGRADE`, `PLAINTEXT`","withinAMap":false,"defaultValue":"TLS","javaDocSiteLink":"","docMapKey":"negotiation-type","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".override-authority","additionalKeys":[],"configDoc":"Overrides the authority used with TLS and HTTP virtual hosting.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"override-authority","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":".per-rpc-buffer-limit","additionalKeys":[],"configDoc":"The per RPC buffer limit in bytes used for retry.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"per-rpc-buffer-limit","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"boolean","key":".retry","additionalKeys":[],"configDoc":"Whether retry is enabled. Note that retry is disabled by default.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"retry","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":".retry-buffer-size","additionalKeys":[],"configDoc":"The retry buffer size in bytes.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"retry-buffer-size","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".user-agent","additionalKeys":[],"configDoc":"Use a custom user-agent.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"user-agent","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".load-balancing-policy","additionalKeys":[],"configDoc":"Use a custom load balancing policy. Accepted values are: `pick_first`, `round_robin`, `grpclb`. This value is ignored if name-resolver is set to 'stork'.","withinAMap":false,"defaultValue":"pick_first","javaDocSiteLink":"","docMapKey":"load-balancing-policy","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".compression","additionalKeys":[],"configDoc":"The compression to use for each call. The accepted values are `gzip` and `identity`.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"compression","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".deadline","additionalKeys":[],"configDoc":"The deadline used for each call.\n\nThe format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"deadline","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}] \ No newline at end of file +[{"configDocKey":{"type":"boolean","key":".use-quarkus-grpc-client","additionalKeys":[],"configDoc":"Use new Vert.x gRPC client support. By default, we still use previous Java gRPC support.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"use-quarkus-grpc-client","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".xds","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.ClientXds","showSection":false,"configDocItems":[{"configDocKey":{"type":"boolean","key":".xds.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of XDS.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"boolean","key":".xds.secure","additionalKeys":[],"configDoc":"Use secure credentials.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"secure","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".xds.target","additionalKeys":[],"configDoc":"Optional explicit target.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"target","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".in-process","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.InProcess","showSection":false,"configDocItems":[{"configDocKey":{"type":"boolean","key":".in-process.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of in-process.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".in-process.name","additionalKeys":[],"configDoc":"Set in-process name.","withinAMap":false,"defaultValue":"quarkus-grpc","javaDocSiteLink":"","docMapKey":"name","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".stork","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.StorkConfig","showSection":false,"configDocItems":[{"configDocKey":{"type":"int","key":".stork.threads","additionalKeys":[],"configDoc":"Number of threads on a delayed gRPC ClientCall","withinAMap":false,"defaultValue":"10","javaDocSiteLink":"","docMapKey":"threads","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"long","key":".stork.deadline","additionalKeys":[],"configDoc":"Deadline in milliseconds of delayed gRPC call","withinAMap":false,"defaultValue":"5000","javaDocSiteLink":"","docMapKey":"deadline","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"int","key":".stork.retries","additionalKeys":[],"configDoc":"Number of retries on a gRPC ClientCall","withinAMap":false,"defaultValue":"3","javaDocSiteLink":"","docMapKey":"retries","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"long","key":".stork.delay","additionalKeys":[],"configDoc":"Initial delay in seconds on refresh check","withinAMap":false,"defaultValue":"60","javaDocSiteLink":"","docMapKey":"delay","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"long","key":".stork.period","additionalKeys":[],"configDoc":"Refresh period in seconds","withinAMap":false,"defaultValue":"120","javaDocSiteLink":"","docMapKey":"period","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocKey":{"type":"int","key":".port","additionalKeys":[],"configDoc":"The gRPC service port.","withinAMap":false,"defaultValue":"9000","javaDocSiteLink":"","docMapKey":"port","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".host","additionalKeys":[],"configDoc":"The host name / IP on which the service is exposed.","withinAMap":false,"defaultValue":"localhost","javaDocSiteLink":"","docMapKey":"host","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocSection":{"name":"","optional":false,"withinAMap":false,"sectionDetails":null,"sectionDetailsTitle":".ssl","configPhase":"BUILD_TIME","topLevelGrouping":"","configGroupType":"io.quarkus.grpc.runtime.config.SslClientConfig","showSection":false,"configDocItems":[{"configDocKey":{"type":"path","key":".ssl.certificate","additionalKeys":[],"configDoc":"The classpath path or file path to a server certificate or certificate chain in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"path","key":".ssl.key","additionalKeys":[],"configDoc":"The classpath path or file path to the corresponding certificate private key file in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"path","key":".ssl.trust-store","additionalKeys":[],"configDoc":"An optional trust store which holds the certificate information of the certificates to trust The trust store can be either on classpath or in an external file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}],"anchorPrefix":null}},{"configDocKey":{"type":"string","key":".name-resolver","additionalKeys":[],"configDoc":"Use a name resolver. Defaults to dns. If set to \"stork\", host will be treated as SmallRye Stork service name","withinAMap":false,"defaultValue":"dns","javaDocSiteLink":"","docMapKey":"name-resolver","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Boolean","key":".plain-text","additionalKeys":[],"configDoc":"Whether `plain-text` should be used instead of `TLS`. Enabled by default, except if TLS/SSL is configured. In this case, `plain-text` is disabled.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"plain-text","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".keep-alive-time","additionalKeys":[],"configDoc":"The duration after which a keep alive ping is sent.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-time","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".flow-control-window","additionalKeys":[],"configDoc":"The flow control window in bytes. Default is 1MiB.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"flow-control-window","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".idle-timeout","additionalKeys":[],"configDoc":"The duration without ongoing RPCs before going to idle mode.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"idle-timeout","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".keep-alive-timeout","additionalKeys":[],"configDoc":"The amount of time the sender of a keep alive ping waits for an acknowledgement.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-timeout","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"boolean","key":".keep-alive-without-calls","additionalKeys":[],"configDoc":"Whether keep-alive will be performed when there are no outstanding RPC on a connection.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"keep-alive-without-calls","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"int","key":".max-hedged-attempts","additionalKeys":[],"configDoc":"The max number of hedged attempts.","withinAMap":false,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-hedged-attempts","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"int","key":".max-retry-attempts","additionalKeys":[],"configDoc":"The max number of retry attempts. Retry must be explicitly enabled.","withinAMap":false,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-retry-attempts","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".max-trace-events","additionalKeys":[],"configDoc":"The maximum number of channel trace events to keep in the tracer for each channel or sub-channel.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-trace-events","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".max-inbound-message-size","additionalKeys":[],"configDoc":"The maximum message size allowed for a single gRPC frame (in bytes). Default is 4 MiB.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-message-size","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":".max-inbound-metadata-size","additionalKeys":[],"configDoc":"The maximum size of metadata allowed to be received (in bytes). Default is 8192B.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-metadata-size","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".negotiation-type","additionalKeys":[],"configDoc":"The negotiation type for the HTTP/2 connection. Accepted values are: `TLS`, `PLAINTEXT_UPGRADE`, `PLAINTEXT`","withinAMap":false,"defaultValue":"TLS","javaDocSiteLink":"","docMapKey":"negotiation-type","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".override-authority","additionalKeys":[],"configDoc":"Overrides the authority used with TLS and HTTP virtual hosting.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"override-authority","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":".per-rpc-buffer-limit","additionalKeys":[],"configDoc":"The per RPC buffer limit in bytes used for retry.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"per-rpc-buffer-limit","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"boolean","key":".retry","additionalKeys":[],"configDoc":"Whether retry is enabled. Note that retry is disabled by default.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"retry","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":".retry-buffer-size","additionalKeys":[],"configDoc":"The retry buffer size in bytes.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"retry-buffer-size","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".user-agent","additionalKeys":[],"configDoc":"Use a custom user-agent.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"user-agent","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".load-balancing-policy","additionalKeys":[],"configDoc":"Use a custom load balancing policy. Accepted values are: `pick_first`, `round_robin`, `grpclb`. This value is ignored if name-resolver is set to 'stork'.","withinAMap":false,"defaultValue":"pick_first","javaDocSiteLink":"","docMapKey":"load-balancing-policy","configPhase":"BUILD_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"string","key":".compression","additionalKeys":[],"configDoc":"The compression to use for each call. The accepted values are `gzip` and `identity`.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"compression","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":".deadline","additionalKeys":[],"configDoc":"The deadline used for each call.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"deadline","configPhase":"BUILD_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"","enum":false}}] \ No newline at end of file diff --git a/_generated-doc/main/config/all-configuration-roots-generated-doc/io.quarkus.grpc.runtime.config.GrpcConfiguration b/_generated-doc/main/config/all-configuration-roots-generated-doc/io.quarkus.grpc.runtime.config.GrpcConfiguration index 8622def8a5..3feb1abb00 100644 --- a/_generated-doc/main/config/all-configuration-roots-generated-doc/io.quarkus.grpc.runtime.config.GrpcConfiguration +++ b/_generated-doc/main/config/all-configuration-roots-generated-doc/io.quarkus.grpc.runtime.config.GrpcConfiguration @@ -1 +1 @@ -[{"configDocSection":{"name":"quarkus.grpc.clients","optional":false,"withinAMap":false,"sectionDetails":"= Configures the gRPC clients","sectionDetailsTitle":"Configures the gRPC clients","configPhase":"RUN_TIME","topLevelGrouping":"quarkus.grpc","configGroupType":"io.quarkus.grpc.runtime.config.GrpcClientConfiguration","showSection":true,"configDocItems":[{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".use-quarkus-grpc-client","additionalKeys":[],"configDoc":"Use new Vert.x gRPC client support. By default, we still use previous Java gRPC support.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"use-quarkus-grpc-client","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".xds.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of XDS.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".xds.secure","additionalKeys":[],"configDoc":"Use secure credentials.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"secure","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".xds.target","additionalKeys":[],"configDoc":"Optional explicit target.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"target","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".in-process.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of in-process.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".in-process.name","additionalKeys":[],"configDoc":"Set in-process name.","withinAMap":true,"defaultValue":"quarkus-grpc","javaDocSiteLink":"","docMapKey":"name","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".stork.threads","additionalKeys":[],"configDoc":"Number of threads on a delayed gRPC ClientCall","withinAMap":true,"defaultValue":"10","javaDocSiteLink":"","docMapKey":"threads","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"long","key":"quarkus.grpc.clients.\"client-name\".stork.deadline","additionalKeys":[],"configDoc":"Deadline in milliseconds of delayed gRPC call","withinAMap":true,"defaultValue":"5000","javaDocSiteLink":"","docMapKey":"deadline","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".stork.retries","additionalKeys":[],"configDoc":"Number of retries on a gRPC ClientCall","withinAMap":true,"defaultValue":"3","javaDocSiteLink":"","docMapKey":"retries","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"long","key":"quarkus.grpc.clients.\"client-name\".stork.delay","additionalKeys":[],"configDoc":"Initial delay in seconds on refresh check","withinAMap":true,"defaultValue":"60","javaDocSiteLink":"","docMapKey":"delay","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"long","key":"quarkus.grpc.clients.\"client-name\".stork.period","additionalKeys":[],"configDoc":"Refresh period in seconds","withinAMap":true,"defaultValue":"120","javaDocSiteLink":"","docMapKey":"period","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".port","additionalKeys":[],"configDoc":"The gRPC service port.","withinAMap":true,"defaultValue":"9000","javaDocSiteLink":"","docMapKey":"port","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".host","additionalKeys":[],"configDoc":"The host name / IP on which the service is exposed.","withinAMap":true,"defaultValue":"localhost","javaDocSiteLink":"","docMapKey":"host","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.clients.\"client-name\".ssl.certificate","additionalKeys":[],"configDoc":"The classpath path or file path to a server certificate or certificate chain in PEM format.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.clients.\"client-name\".ssl.key","additionalKeys":[],"configDoc":"The classpath path or file path to the corresponding certificate private key file in PEM format.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.clients.\"client-name\".ssl.trust-store","additionalKeys":[],"configDoc":"An optional trust store which holds the certificate information of the certificates to trust The trust store can be either on classpath or in an external file.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".name-resolver","additionalKeys":[],"configDoc":"Use a name resolver. Defaults to dns. If set to \"stork\", host will be treated as SmallRye Stork service name","withinAMap":true,"defaultValue":"dns","javaDocSiteLink":"","docMapKey":"name-resolver","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Boolean","key":"quarkus.grpc.clients.\"client-name\".plain-text","additionalKeys":[],"configDoc":"Whether `plain-text` should be used instead of `TLS`. Enabled by default, except if TLS/SSL is configured. In this case, `plain-text` is disabled.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"plain-text","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".keep-alive-time","additionalKeys":[],"configDoc":"The duration after which a keep alive ping is sent.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-time","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".flow-control-window","additionalKeys":[],"configDoc":"The flow control window in bytes. Default is 1MiB.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"flow-control-window","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".idle-timeout","additionalKeys":[],"configDoc":"The duration without ongoing RPCs before going to idle mode.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"idle-timeout","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".keep-alive-timeout","additionalKeys":[],"configDoc":"The amount of time the sender of a keep alive ping waits for an acknowledgement.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-timeout","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".keep-alive-without-calls","additionalKeys":[],"configDoc":"Whether keep-alive will be performed when there are no outstanding RPC on a connection.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"keep-alive-without-calls","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".max-hedged-attempts","additionalKeys":[],"configDoc":"The max number of hedged attempts.","withinAMap":true,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-hedged-attempts","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".max-retry-attempts","additionalKeys":[],"configDoc":"The max number of retry attempts. Retry must be explicitly enabled.","withinAMap":true,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-retry-attempts","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".max-trace-events","additionalKeys":[],"configDoc":"The maximum number of channel trace events to keep in the tracer for each channel or sub-channel.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-trace-events","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".max-inbound-message-size","additionalKeys":[],"configDoc":"The maximum message size allowed for a single gRPC frame (in bytes). Default is 4 MiB.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-message-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".max-inbound-metadata-size","additionalKeys":[],"configDoc":"The maximum size of metadata allowed to be received (in bytes). Default is 8192B.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-metadata-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".negotiation-type","additionalKeys":[],"configDoc":"The negotiation type for the HTTP/2 connection. Accepted values are: `TLS`, `PLAINTEXT_UPGRADE`, `PLAINTEXT`","withinAMap":true,"defaultValue":"TLS","javaDocSiteLink":"","docMapKey":"negotiation-type","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".override-authority","additionalKeys":[],"configDoc":"Overrides the authority used with TLS and HTTP virtual hosting.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"override-authority","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":"quarkus.grpc.clients.\"client-name\".per-rpc-buffer-limit","additionalKeys":[],"configDoc":"The per RPC buffer limit in bytes used for retry.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"per-rpc-buffer-limit","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".retry","additionalKeys":[],"configDoc":"Whether retry is enabled. Note that retry is disabled by default.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"retry","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":"quarkus.grpc.clients.\"client-name\".retry-buffer-size","additionalKeys":[],"configDoc":"The retry buffer size in bytes.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"retry-buffer-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".user-agent","additionalKeys":[],"configDoc":"Use a custom user-agent.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"user-agent","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".load-balancing-policy","additionalKeys":[],"configDoc":"Use a custom load balancing policy. Accepted values are: `pick_first`, `round_robin`, `grpclb`. This value is ignored if name-resolver is set to 'stork'.","withinAMap":true,"defaultValue":"pick_first","javaDocSiteLink":"","docMapKey":"load-balancing-policy","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".compression","additionalKeys":[],"configDoc":"The compression to use for each call. The accepted values are `gzip` and `identity`.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"compression","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".deadline","additionalKeys":[],"configDoc":"The deadline used for each call.\n\nThe format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"deadline","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}}],"anchorPrefix":null}},{"configDocSection":{"name":"quarkus.grpc.server","optional":false,"withinAMap":false,"sectionDetails":"= Configure the gRPC server","sectionDetailsTitle":"Configure the gRPC server","configPhase":"RUN_TIME","topLevelGrouping":"quarkus.grpc","configGroupType":"io.quarkus.grpc.runtime.config.GrpcServerConfiguration","showSection":true,"configDocItems":[{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.use-separate-server","additionalKeys":[],"configDoc":"Do we use separate HTTP server to serve gRPC requests. Set this to false if you want to use new Vert.x gRPC support, which uses existing Vert.x HTTP server.","withinAMap":false,"defaultValue":"true","javaDocSiteLink":"","docMapKey":"use-separate-server","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.xds.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of XDS.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.xds.secure","additionalKeys":[],"configDoc":"Use secure credentials.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"secure","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.in-process.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of in-process.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.in-process.name","additionalKeys":[],"configDoc":"Set in-process name.","withinAMap":false,"defaultValue":"quarkus-grpc","javaDocSiteLink":"","docMapKey":"name","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.server.port","additionalKeys":[],"configDoc":"The gRPC Server port.","withinAMap":false,"defaultValue":"9000","javaDocSiteLink":"","docMapKey":"port","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.server.test-port","additionalKeys":[],"configDoc":"The gRPC Server port used for tests.","withinAMap":false,"defaultValue":"9001","javaDocSiteLink":"","docMapKey":"test-port","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.host","additionalKeys":[],"configDoc":"The gRPC server host.","withinAMap":false,"defaultValue":"0.0.0.0","javaDocSiteLink":"","docMapKey":"host","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.server.handshake-timeout","additionalKeys":[],"configDoc":"The gRPC handshake timeout.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"handshake-timeout","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.server.max-inbound-message-size","additionalKeys":[],"configDoc":"The max inbound message size in bytes.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-message-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.server.max-inbound-metadata-size","additionalKeys":[],"configDoc":"The max inbound metadata size in bytes","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-metadata-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.certificate","additionalKeys":[],"configDoc":"The classpath path or file path to a server certificate or certificate chain in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.key","additionalKeys":[],"configDoc":"The classpath path or file path to the corresponding certificate private key file in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.key-store","additionalKeys":[],"configDoc":"An optional key store which holds the certificate information instead of specifying separate files. The key store can be either on classpath or an external file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key-store","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.key-store-type","additionalKeys":[],"configDoc":"An optional parameter to specify the type of the key store file. If not given, the type is automatically detected based on the file name.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key-store-type","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.key-store-password","additionalKeys":[],"configDoc":"A parameter to specify the password of the key store file. If not given, the default (\"password\") is used.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key-store-password","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.trust-store","additionalKeys":[],"configDoc":"An optional trust store which holds the certificate information of the certificates to trust\n\nThe trust store can be either on classpath or an external file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.trust-store-type","additionalKeys":[],"configDoc":"An optional parameter to specify type of the trust store file. If not given, the type is automatically detected based on the file name.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store-type","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.trust-store-password","additionalKeys":[],"configDoc":"A parameter to specify the password of the trust store file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store-password","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.cipher-suites","additionalKeys":[],"configDoc":"The cipher suites to use. If none is given, a reasonable default is selected.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"cipher-suites","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":true,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.protocols","additionalKeys":[],"configDoc":"Sets the ordered list of enabled SSL/TLS protocols.\n\nIf not set, it defaults to `\"TLSv1.3, TLSv1.2\"`. The following list of protocols are supported: `TLSv1, TLSv1.1, TLSv1.2, TLSv1.3`. To only enable `TLSv1.3`, set the value to `to \"TLSv1.3\"`.\n\nNote that setting an empty list, and enabling SSL/TLS is invalid. You must at least have one protocol.","withinAMap":false,"defaultValue":"TLSv1.3,TLSv1.2","javaDocSiteLink":"","docMapKey":"protocols","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":true,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"io.vertx.core.http.ClientAuth","key":"quarkus.grpc.server.ssl.client-auth","additionalKeys":[],"configDoc":"Configures the engine to require/request client authentication. NONE, REQUEST, REQUIRED","withinAMap":false,"defaultValue":"none","javaDocSiteLink":"https://vertx.io/docs/apidocs/io/vertx/core/http/ClientAuth.html","docMapKey":"client-auth","configPhase":"RUN_TIME","acceptedValues":["`none`","`request`","`required`"],"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":true}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.plain-text","additionalKeys":[],"configDoc":"Disables SSL, and uses plain text instead. If disabled, configure the ssl configuration.","withinAMap":false,"defaultValue":"true","javaDocSiteLink":"","docMapKey":"plain-text","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.alpn","additionalKeys":[],"configDoc":"Whether ALPN should be used.","withinAMap":false,"defaultValue":"true","javaDocSiteLink":"","docMapKey":"alpn","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.transport-security.certificate","additionalKeys":[],"configDoc":"The path to the certificate file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.transport-security.key","additionalKeys":[],"configDoc":"The path to the private key file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.enable-reflection-service","additionalKeys":[],"configDoc":"Enables the gRPC Reflection Service. By default, the reflection service is only exposed in `dev` mode. This setting allows overriding this choice and enable the reflection service every time.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enable-reflection-service","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.server.instances","additionalKeys":[],"configDoc":"Number of gRPC server verticle instances. This is useful for scaling easily across multiple cores. The number should not exceed the amount of event loops.","withinAMap":false,"defaultValue":"1","javaDocSiteLink":"","docMapKey":"instances","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.server.netty.keep-alive-time","additionalKeys":[],"configDoc":"Sets a custom keep-alive duration. This configures the time before sending a `keepalive` ping when there is no read activity.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-time","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.server.netty.permit-keep-alive-time","additionalKeys":[],"configDoc":"Sets a custom permit-keep-alive duration. This configures the most aggressive keep-alive time clients are permitted to configure. The server will try to detect clients exceeding this rate and when detected will forcefully close the connection.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"permit-keep-alive-time","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Boolean","key":"quarkus.grpc.server.netty.permit-keep-alive-without-calls","additionalKeys":[],"configDoc":"Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"permit-keep-alive-without-calls","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.compression","additionalKeys":[],"configDoc":"gRPC compression, e.g. \"gzip\"","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"compression","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}}],"anchorPrefix":null}}] \ No newline at end of file +[{"configDocSection":{"name":"quarkus.grpc.clients","optional":false,"withinAMap":false,"sectionDetails":"= Configures the gRPC clients","sectionDetailsTitle":"Configures the gRPC clients","configPhase":"RUN_TIME","topLevelGrouping":"quarkus.grpc","configGroupType":"io.quarkus.grpc.runtime.config.GrpcClientConfiguration","showSection":true,"configDocItems":[{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".use-quarkus-grpc-client","additionalKeys":[],"configDoc":"Use new Vert.x gRPC client support. By default, we still use previous Java gRPC support.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"use-quarkus-grpc-client","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".xds.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of XDS.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".xds.secure","additionalKeys":[],"configDoc":"Use secure credentials.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"secure","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".xds.target","additionalKeys":[],"configDoc":"Optional explicit target.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"target","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".in-process.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of in-process.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".in-process.name","additionalKeys":[],"configDoc":"Set in-process name.","withinAMap":true,"defaultValue":"quarkus-grpc","javaDocSiteLink":"","docMapKey":"name","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".stork.threads","additionalKeys":[],"configDoc":"Number of threads on a delayed gRPC ClientCall","withinAMap":true,"defaultValue":"10","javaDocSiteLink":"","docMapKey":"threads","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"long","key":"quarkus.grpc.clients.\"client-name\".stork.deadline","additionalKeys":[],"configDoc":"Deadline in milliseconds of delayed gRPC call","withinAMap":true,"defaultValue":"5000","javaDocSiteLink":"","docMapKey":"deadline","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".stork.retries","additionalKeys":[],"configDoc":"Number of retries on a gRPC ClientCall","withinAMap":true,"defaultValue":"3","javaDocSiteLink":"","docMapKey":"retries","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"long","key":"quarkus.grpc.clients.\"client-name\".stork.delay","additionalKeys":[],"configDoc":"Initial delay in seconds on refresh check","withinAMap":true,"defaultValue":"60","javaDocSiteLink":"","docMapKey":"delay","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"long","key":"quarkus.grpc.clients.\"client-name\".stork.period","additionalKeys":[],"configDoc":"Refresh period in seconds","withinAMap":true,"defaultValue":"120","javaDocSiteLink":"","docMapKey":"period","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".port","additionalKeys":[],"configDoc":"The gRPC service port.","withinAMap":true,"defaultValue":"9000","javaDocSiteLink":"","docMapKey":"port","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".host","additionalKeys":[],"configDoc":"The host name / IP on which the service is exposed.","withinAMap":true,"defaultValue":"localhost","javaDocSiteLink":"","docMapKey":"host","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.clients.\"client-name\".ssl.certificate","additionalKeys":[],"configDoc":"The classpath path or file path to a server certificate or certificate chain in PEM format.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.clients.\"client-name\".ssl.key","additionalKeys":[],"configDoc":"The classpath path or file path to the corresponding certificate private key file in PEM format.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.clients.\"client-name\".ssl.trust-store","additionalKeys":[],"configDoc":"An optional trust store which holds the certificate information of the certificates to trust The trust store can be either on classpath or in an external file.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".name-resolver","additionalKeys":[],"configDoc":"Use a name resolver. Defaults to dns. If set to \"stork\", host will be treated as SmallRye Stork service name","withinAMap":true,"defaultValue":"dns","javaDocSiteLink":"","docMapKey":"name-resolver","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Boolean","key":"quarkus.grpc.clients.\"client-name\".plain-text","additionalKeys":[],"configDoc":"Whether `plain-text` should be used instead of `TLS`. Enabled by default, except if TLS/SSL is configured. In this case, `plain-text` is disabled.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"plain-text","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".keep-alive-time","additionalKeys":[],"configDoc":"The duration after which a keep alive ping is sent.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-time","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".flow-control-window","additionalKeys":[],"configDoc":"The flow control window in bytes. Default is 1MiB.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"flow-control-window","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".idle-timeout","additionalKeys":[],"configDoc":"The duration without ongoing RPCs before going to idle mode.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"idle-timeout","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".keep-alive-timeout","additionalKeys":[],"configDoc":"The amount of time the sender of a keep alive ping waits for an acknowledgement.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-timeout","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".keep-alive-without-calls","additionalKeys":[],"configDoc":"Whether keep-alive will be performed when there are no outstanding RPC on a connection.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"keep-alive-without-calls","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".max-hedged-attempts","additionalKeys":[],"configDoc":"The max number of hedged attempts.","withinAMap":true,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-hedged-attempts","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.clients.\"client-name\".max-retry-attempts","additionalKeys":[],"configDoc":"The max number of retry attempts. Retry must be explicitly enabled.","withinAMap":true,"defaultValue":"5","javaDocSiteLink":"","docMapKey":"max-retry-attempts","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".max-trace-events","additionalKeys":[],"configDoc":"The maximum number of channel trace events to keep in the tracer for each channel or sub-channel.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-trace-events","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".max-inbound-message-size","additionalKeys":[],"configDoc":"The maximum message size allowed for a single gRPC frame (in bytes). Default is 4 MiB.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-message-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.clients.\"client-name\".max-inbound-metadata-size","additionalKeys":[],"configDoc":"The maximum size of metadata allowed to be received (in bytes). Default is 8192B.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-metadata-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".negotiation-type","additionalKeys":[],"configDoc":"The negotiation type for the HTTP/2 connection. Accepted values are: `TLS`, `PLAINTEXT_UPGRADE`, `PLAINTEXT`","withinAMap":true,"defaultValue":"TLS","javaDocSiteLink":"","docMapKey":"negotiation-type","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".override-authority","additionalKeys":[],"configDoc":"Overrides the authority used with TLS and HTTP virtual hosting.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"override-authority","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":"quarkus.grpc.clients.\"client-name\".per-rpc-buffer-limit","additionalKeys":[],"configDoc":"The per RPC buffer limit in bytes used for retry.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"per-rpc-buffer-limit","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.clients.\"client-name\".retry","additionalKeys":[],"configDoc":"Whether retry is enabled. Note that retry is disabled by default.","withinAMap":true,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"retry","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Long","key":"quarkus.grpc.clients.\"client-name\".retry-buffer-size","additionalKeys":[],"configDoc":"The retry buffer size in bytes.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"retry-buffer-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".user-agent","additionalKeys":[],"configDoc":"Use a custom user-agent.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"user-agent","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".load-balancing-policy","additionalKeys":[],"configDoc":"Use a custom load balancing policy. Accepted values are: `pick_first`, `round_robin`, `grpclb`. This value is ignored if name-resolver is set to 'stork'.","withinAMap":true,"defaultValue":"pick_first","javaDocSiteLink":"","docMapKey":"load-balancing-policy","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.clients.\"client-name\".compression","additionalKeys":[],"configDoc":"The compression to use for each call. The accepted values are `gzip` and `identity`.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"","docMapKey":"compression","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.clients.\"client-name\".deadline","additionalKeys":[],"configDoc":"The deadline used for each call.","withinAMap":true,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"deadline","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}}],"anchorPrefix":null}},{"configDocSection":{"name":"quarkus.grpc.server","optional":false,"withinAMap":false,"sectionDetails":"= Configure the gRPC server","sectionDetailsTitle":"Configure the gRPC server","configPhase":"RUN_TIME","topLevelGrouping":"quarkus.grpc","configGroupType":"io.quarkus.grpc.runtime.config.GrpcServerConfiguration","showSection":true,"configDocItems":[{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.use-separate-server","additionalKeys":[],"configDoc":"Do we use separate HTTP server to serve gRPC requests. Set this to false if you want to use new Vert.x gRPC support, which uses existing Vert.x HTTP server.","withinAMap":false,"defaultValue":"true","javaDocSiteLink":"","docMapKey":"use-separate-server","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.xds.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of XDS.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.xds.secure","additionalKeys":[],"configDoc":"Use secure credentials.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"secure","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.in-process.enabled","additionalKeys":[],"configDoc":"Explicitly enable use of in-process.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enabled","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.in-process.name","additionalKeys":[],"configDoc":"Set in-process name.","withinAMap":false,"defaultValue":"quarkus-grpc","javaDocSiteLink":"","docMapKey":"name","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.server.port","additionalKeys":[],"configDoc":"The gRPC Server port.","withinAMap":false,"defaultValue":"9000","javaDocSiteLink":"","docMapKey":"port","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.server.test-port","additionalKeys":[],"configDoc":"The gRPC Server port used for tests.","withinAMap":false,"defaultValue":"9001","javaDocSiteLink":"","docMapKey":"test-port","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.host","additionalKeys":[],"configDoc":"The gRPC server host.","withinAMap":false,"defaultValue":"0.0.0.0","javaDocSiteLink":"","docMapKey":"host","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.server.handshake-timeout","additionalKeys":[],"configDoc":"The gRPC handshake timeout.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"handshake-timeout","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.server.max-inbound-message-size","additionalKeys":[],"configDoc":"The max inbound message size in bytes.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-message-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Integer","key":"quarkus.grpc.server.max-inbound-metadata-size","additionalKeys":[],"configDoc":"The max inbound metadata size in bytes","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"max-inbound-metadata-size","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.certificate","additionalKeys":[],"configDoc":"The classpath path or file path to a server certificate or certificate chain in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.key","additionalKeys":[],"configDoc":"The classpath path or file path to the corresponding certificate private key file in PEM format.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.key-store","additionalKeys":[],"configDoc":"An optional key store which holds the certificate information instead of specifying separate files. The key store can be either on classpath or an external file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key-store","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.key-store-type","additionalKeys":[],"configDoc":"An optional parameter to specify the type of the key store file. If not given, the type is automatically detected based on the file name.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key-store-type","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.key-store-password","additionalKeys":[],"configDoc":"A parameter to specify the password of the key store file. If not given, the default (\"password\") is used.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key-store-password","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"path","key":"quarkus.grpc.server.ssl.trust-store","additionalKeys":[],"configDoc":"An optional trust store which holds the certificate information of the certificates to trust\n\nThe trust store can be either on classpath or an external file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.trust-store-type","additionalKeys":[],"configDoc":"An optional parameter to specify type of the trust store file. If not given, the type is automatically detected based on the file name.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store-type","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.trust-store-password","additionalKeys":[],"configDoc":"A parameter to specify the password of the trust store file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"trust-store-password","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.cipher-suites","additionalKeys":[],"configDoc":"The cipher suites to use. If none is given, a reasonable default is selected.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"cipher-suites","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":true,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.ssl.protocols","additionalKeys":[],"configDoc":"Sets the ordered list of enabled SSL/TLS protocols.\n\nIf not set, it defaults to `\"TLSv1.3, TLSv1.2\"`. The following list of protocols are supported: `TLSv1, TLSv1.1, TLSv1.2, TLSv1.3`. To only enable `TLSv1.3`, set the value to `to \"TLSv1.3\"`.\n\nNote that setting an empty list, and enabling SSL/TLS is invalid. You must at least have one protocol.","withinAMap":false,"defaultValue":"TLSv1.3,TLSv1.2","javaDocSiteLink":"","docMapKey":"protocols","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":true,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"io.vertx.core.http.ClientAuth","key":"quarkus.grpc.server.ssl.client-auth","additionalKeys":[],"configDoc":"Configures the engine to require/request client authentication. NONE, REQUEST, REQUIRED","withinAMap":false,"defaultValue":"none","javaDocSiteLink":"https://vertx.io/docs/apidocs/io/vertx/core/http/ClientAuth.html","docMapKey":"client-auth","configPhase":"RUN_TIME","acceptedValues":["`none`","`request`","`required`"],"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":true}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.plain-text","additionalKeys":[],"configDoc":"Disables SSL, and uses plain text instead. If disabled, configure the ssl configuration.","withinAMap":false,"defaultValue":"true","javaDocSiteLink":"","docMapKey":"plain-text","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.alpn","additionalKeys":[],"configDoc":"Whether ALPN should be used.","withinAMap":false,"defaultValue":"true","javaDocSiteLink":"","docMapKey":"alpn","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.transport-security.certificate","additionalKeys":[],"configDoc":"The path to the certificate file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"certificate","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.transport-security.key","additionalKeys":[],"configDoc":"The path to the private key file.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"key","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"boolean","key":"quarkus.grpc.server.enable-reflection-service","additionalKeys":[],"configDoc":"Enables the gRPC Reflection Service. By default, the reflection service is only exposed in `dev` mode. This setting allows overriding this choice and enable the reflection service every time.","withinAMap":false,"defaultValue":"false","javaDocSiteLink":"","docMapKey":"enable-reflection-service","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"int","key":"quarkus.grpc.server.instances","additionalKeys":[],"configDoc":"Number of gRPC server verticle instances. This is useful for scaling easily across multiple cores. The number should not exceed the amount of event loops.","withinAMap":false,"defaultValue":"1","javaDocSiteLink":"","docMapKey":"instances","configPhase":"RUN_TIME","acceptedValues":null,"optional":false,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.server.netty.keep-alive-time","additionalKeys":[],"configDoc":"Sets a custom keep-alive duration. This configures the time before sending a `keepalive` ping when there is no read activity.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"keep-alive-time","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.time.Duration","key":"quarkus.grpc.server.netty.permit-keep-alive-time","additionalKeys":[],"configDoc":"Sets a custom permit-keep-alive duration. This configures the most aggressive keep-alive time clients are permitted to configure. The server will try to detect clients exceeding this rate and when detected will forcefully close the connection.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html","docMapKey":"permit-keep-alive-time","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"java.lang.Boolean","key":"quarkus.grpc.server.netty.permit-keep-alive-without-calls","additionalKeys":[],"configDoc":"Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"permit-keep-alive-without-calls","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}},{"configDocKey":{"type":"string","key":"quarkus.grpc.server.compression","additionalKeys":[],"configDoc":"gRPC compression, e.g. \"gzip\"","withinAMap":false,"defaultValue":"","javaDocSiteLink":"","docMapKey":"compression","configPhase":"RUN_TIME","acceptedValues":null,"optional":true,"list":false,"passThroughMap":false,"withinAConfigGroup":true,"topLevelGrouping":"quarkus.grpc","enum":false}}],"anchorPrefix":null}}] \ No newline at end of file diff --git a/_generated-doc/main/config/quarkus-agroal-config-group-data-source-jdbc-runtime-config.adoc b/_generated-doc/main/config/quarkus-agroal-config-group-data-source-jdbc-runtime-config.adoc index 7710d56623..f8d9164369 100644 --- a/_generated-doc/main/config/quarkus-agroal-config-group-data-source-jdbc-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-agroal-config-group-data-source-jdbc-runtime-config.adoc @@ -817,11 +817,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-agroal-config-group-data-sources-jdbc-runtime-config-data-source-jdbc-outer-named-runtime-config.adoc b/_generated-doc/main/config/quarkus-agroal-config-group-data-sources-jdbc-runtime-config-data-source-jdbc-outer-named-runtime-config.adoc index 521164c4e5..d59be9c871 100644 --- a/_generated-doc/main/config/quarkus-agroal-config-group-data-sources-jdbc-runtime-config-data-source-jdbc-outer-named-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-agroal-config-group-data-sources-jdbc-runtime-config-data-source-jdbc-outer-named-runtime-config.adoc @@ -416,11 +416,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-agroal-general-config-items.adoc b/_generated-doc/main/config/quarkus-agroal-general-config-items.adoc index a6bf0fdfd9..672928917a 100644 --- a/_generated-doc/main/config/quarkus-agroal-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-agroal-general-config-items.adoc @@ -944,11 +944,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-agroal.adoc b/_generated-doc/main/config/quarkus-agroal.adoc index dbaa10ee86..ca181d27fd 100644 --- a/_generated-doc/main/config/quarkus-agroal.adoc +++ b/_generated-doc/main/config/quarkus-agroal.adoc @@ -944,11 +944,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-all-config.adoc b/_generated-doc/main/config/quarkus-all-config.adoc index 5d1756798d..16281dacde 100644 --- a/_generated-doc/main/config/quarkus-all-config.adoc +++ b/_generated-doc/main/config/quarkus-all-config.adoc @@ -65933,8 +65933,6 @@ a| [[quarkus-grpc_quarkus.grpc.clients.-client-name-.deadline]]`link:#quarkus-gr -- The deadline used for each call. -The format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. - ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_GRPC_CLIENTS__CLIENT_NAME__DEADLINE+++[] endif::add-copy-button-to-env-var[] @@ -66510,12 +66508,18 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-cache-config.adoc b/_generated-doc/main/config/quarkus-cache-cache-config.adoc index 0eb6d8b682..06136d36e9 100644 --- a/_generated-doc/main/config/quarkus-cache-cache-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-cache-config.adoc @@ -216,11 +216,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config-caffeine-cache-config.adoc b/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config-caffeine-cache-config.adoc index 383c5c7d25..bf6dcab49a 100644 --- a/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config-caffeine-cache-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config-caffeine-cache-config.adoc @@ -189,11 +189,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config.adoc b/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config.adoc index fdb418fe86..7099e39897 100644 --- a/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-config-group-cache-config-caffeine-config.adoc @@ -194,11 +194,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-general-config-items.adoc b/_generated-doc/main/config/quarkus-cache-general-config-items.adoc index 80ceb6c235..dc9ff842e2 100644 --- a/_generated-doc/main/config/quarkus-cache-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-cache-general-config-items.adoc @@ -194,11 +194,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-build-time-config.adoc b/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-build-time-config.adoc index 0ab0c8b189..66f725d23b 100644 --- a/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-build-time-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-build-time-config.adoc @@ -82,87 +82,4 @@ endif::add-copy-button-to-env-var[] --|string | - -a| [[quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-write]]`link:#quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-write[quarkus.cache.redis."cache-name".expire-after-write]` - - -[.description] --- -Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_WRITE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_WRITE+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -| - - -a| [[quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-access]]`link:#quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-access[quarkus.cache.redis."cache-name".expire-after-access]` - - -[.description] --- -Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the last access of its value. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_ACCESS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_ACCESS+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -| - - -a| [[quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.prefix]]`link:#quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.prefix[quarkus.cache.redis."cache-name".prefix]` - - -[.description] --- -the key prefix allowing to identify the keys belonging to the cache. If not set, use "cache:$cache-name" - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__PREFIX+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__PREFIX+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.use-optimistic-locking]]`link:#quarkus-cache-redis-config-group-redis-cache-build-time-config_quarkus.cache.redis.-cache-name-.use-optimistic-locking[quarkus.cache.redis."cache-name".use-optimistic-locking]` - - -[.description] --- -Whether the access to the cache should be using optimistic locking. See link:https://redis.io/docs/manual/transactions/#optimistic-locking-using-check-and-set[Redis Optimistic Locking] for details. Default is `false`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__USE_OPTIMISTIC_LOCKING+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__USE_OPTIMISTIC_LOCKING+++` -endif::add-copy-button-to-env-var[] ---|boolean -| - -|=== -ifndef::no-duration-note[] -[NOTE] -[id='duration-note-anchor-{summaryTableId}'] -.About the Duration format -==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. - -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. -==== -endif::no-duration-note[] +|=== \ No newline at end of file diff --git a/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-runtime-config.adoc b/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-runtime-config.adoc index c8539da579..7e00600f0b 100644 --- a/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-redis-config-group-redis-cache-runtime-config.adoc @@ -85,6 +85,40 @@ h|[[quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.re h|Type h|Default +a|icon:lock[title=Fixed at build time] [[quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.redis.-cache-name-.value-type]]`link:#quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.redis.-cache-name-.value-type[quarkus.cache.redis."cache-name".value-type]` + + +[.description] +-- +The default type of the value stored in the cache. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__VALUE_TYPE+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__VALUE_TYPE+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.redis.-cache-name-.key-type]]`link:#quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.redis.-cache-name-.key-type[quarkus.cache.redis."cache-name".key-type]` + + +[.description] +-- +The key type, `String` by default. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__KEY_TYPE+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__KEY_TYPE+++` +endif::add-copy-button-to-env-var[] +--|string +| + + a| [[quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.redis.-cache-name-.expire-after-write]]`link:#quarkus-cache-redis-config-group-redis-cache-runtime-config_quarkus.cache.redis.-cache-name-.expire-after-write[quarkus.cache.redis."cache-name".expire-after-write]` @@ -160,11 +194,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-redis-general-config-items.adoc b/_generated-doc/main/config/quarkus-cache-redis-general-config-items.adoc index ce257b077d..b3f975a845 100644 --- a/_generated-doc/main/config/quarkus-cache-redis-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-cache-redis-general-config-items.adoc @@ -228,11 +228,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-redis-redis-caches-build-time-config.adoc b/_generated-doc/main/config/quarkus-cache-redis-redis-caches-build-time-config.adoc index a7f8b05b7f..b94e6cc0d7 100644 --- a/_generated-doc/main/config/quarkus-cache-redis-redis-caches-build-time-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-redis-redis-caches-build-time-config.adoc @@ -99,87 +99,4 @@ endif::add-copy-button-to-env-var[] --|string | - -a| [[quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-write]]`link:#quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-write[quarkus.cache.redis."cache-name".expire-after-write]` - - -[.description] --- -Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_WRITE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_WRITE+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -| - - -a| [[quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-access]]`link:#quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.expire-after-access[quarkus.cache.redis."cache-name".expire-after-access]` - - -[.description] --- -Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the last access of its value. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_ACCESS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__EXPIRE_AFTER_ACCESS+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -| - - -a| [[quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.prefix]]`link:#quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.prefix[quarkus.cache.redis."cache-name".prefix]` - - -[.description] --- -the key prefix allowing to identify the keys belonging to the cache. If not set, use "cache:$cache-name" - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__PREFIX+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__PREFIX+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.use-optimistic-locking]]`link:#quarkus-cache-redis-redis-caches-build-time-config_quarkus.cache.redis.-cache-name-.use-optimistic-locking[quarkus.cache.redis."cache-name".use-optimistic-locking]` - - -[.description] --- -Whether the access to the cache should be using optimistic locking. See link:https://redis.io/docs/manual/transactions/#optimistic-locking-using-check-and-set[Redis Optimistic Locking] for details. Default is `false`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__USE_OPTIMISTIC_LOCKING+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__USE_OPTIMISTIC_LOCKING+++` -endif::add-copy-button-to-env-var[] ---|boolean -| - -|=== -ifndef::no-duration-note[] -[NOTE] -[id='duration-note-anchor-{summaryTableId}'] -.About the Duration format -==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. - -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. -==== -endif::no-duration-note[] +|=== \ No newline at end of file diff --git a/_generated-doc/main/config/quarkus-cache-redis-redis-caches-config.adoc b/_generated-doc/main/config/quarkus-cache-redis-redis-caches-config.adoc index 69eb43b0fc..b0df664e08 100644 --- a/_generated-doc/main/config/quarkus-cache-redis-redis-caches-config.adoc +++ b/_generated-doc/main/config/quarkus-cache-redis-redis-caches-config.adoc @@ -85,6 +85,40 @@ h|[[quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.caches-config-ad h|Type h|Default +a|icon:lock[title=Fixed at build time] [[quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.-cache-name-.value-type]]`link:#quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.-cache-name-.value-type[quarkus.cache.redis."cache-name".value-type]` + + +[.description] +-- +The default type of the value stored in the cache. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__VALUE_TYPE+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__VALUE_TYPE+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.-cache-name-.key-type]]`link:#quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.-cache-name-.key-type[quarkus.cache.redis."cache-name".key-type]` + + +[.description] +-- +The key type, `String` by default. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_CACHE_REDIS__CACHE_NAME__KEY_TYPE+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_CACHE_REDIS__CACHE_NAME__KEY_TYPE+++` +endif::add-copy-button-to-env-var[] +--|string +| + + a| [[quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.-cache-name-.expire-after-write]]`link:#quarkus-cache-redis-redis-caches-config_quarkus.cache.redis.-cache-name-.expire-after-write[quarkus.cache.redis."cache-name".expire-after-write]` @@ -160,11 +194,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache-redis.adoc b/_generated-doc/main/config/quarkus-cache-redis.adoc index 75f84864fb..caafb4d41c 100644 --- a/_generated-doc/main/config/quarkus-cache-redis.adoc +++ b/_generated-doc/main/config/quarkus-cache-redis.adoc @@ -245,11 +245,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-cache.adoc b/_generated-doc/main/config/quarkus-cache.adoc index 28e74cdbe4..41100386d4 100644 --- a/_generated-doc/main/config/quarkus-cache.adoc +++ b/_generated-doc/main/config/quarkus-cache.adoc @@ -233,11 +233,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-container-image-openshift.adoc b/_generated-doc/main/config/quarkus-container-image-openshift.adoc index fbf0d5c77e..e86f144f94 100644 --- a/_generated-doc/main/config/quarkus-container-image-openshift.adoc +++ b/_generated-doc/main/config/quarkus-container-image-openshift.adoc @@ -428,11 +428,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-container-image-s2i.adoc b/_generated-doc/main/config/quarkus-container-image-s2i.adoc index cf26785039..2df1fe65eb 100644 --- a/_generated-doc/main/config/quarkus-container-image-s2i.adoc +++ b/_generated-doc/main/config/quarkus-container-image-s2i.adoc @@ -186,11 +186,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-core.adoc b/_generated-doc/main/config/quarkus-core.adoc index 64689a0636..a0e320554b 100644 --- a/_generated-doc/main/config/quarkus-core.adoc +++ b/_generated-doc/main/config/quarkus-core.adoc @@ -58,6 +58,42 @@ endif::add-copy-button-to-env-var[] |`Build system locale` +a| [[quarkus-core_quarkus.init-and-exit]]`link:#quarkus-core_quarkus.init-and-exit[quarkus.init-and-exit]` + + +[.description] +-- +true to quit exit right after the initialization. The option is not meant be used directly by users. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_INIT_AND_EXIT+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_INIT_AND_EXIT+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-core_quarkus.args]]`link:#quarkus-core_quarkus.args[quarkus.args]` + + +[.description] +-- +The arguments passed to the command line. + +We don't make it a list as the args are separated by a space, not a comma. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_ARGS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_ARGS+++` +endif::add-copy-button-to-env-var[] +--|string +| + + a| [[quarkus-core_quarkus.profile]]`link:#quarkus-core_quarkus.profile[quarkus.profile]` @@ -163,42 +199,6 @@ endif::add-copy-button-to-env-var[] | -a| [[quarkus-core_quarkus.args]]`link:#quarkus-core_quarkus.args[quarkus.args]` - - -[.description] --- -The arguments passed to the command line. - -We don't make it a list as the args are separated by a space, not a comma. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_ARGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_ARGS+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-core_quarkus.init-and-exit]]`link:#quarkus-core_quarkus.init-and-exit[quarkus.init-and-exit]` - - -[.description] --- -true to quit exit right after the initialization. The option is not meant be used directly by users. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_INIT_AND_EXIT+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_INIT_AND_EXIT+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - a|icon:lock[title=Fixed at build time] [[quarkus-core_quarkus.analytics.disabled]]`link:#quarkus-core_quarkus.analytics.disabled[quarkus.analytics.disabled]` @@ -2308,12 +2308,18 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-csrf-reactive-csrf-reactive-config.adoc b/_generated-doc/main/config/quarkus-csrf-reactive-csrf-reactive-config.adoc index 4c962a6d96..74d997fdc5 100644 --- a/_generated-doc/main/config/quarkus-csrf-reactive-csrf-reactive-config.adoc +++ b/_generated-doc/main/config/quarkus-csrf-reactive-csrf-reactive-config.adoc @@ -237,11 +237,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-csrf-reactive.adoc b/_generated-doc/main/config/quarkus-csrf-reactive.adoc index 2b83bbbed7..fc345d34df 100644 --- a/_generated-doc/main/config/quarkus-csrf-reactive.adoc +++ b/_generated-doc/main/config/quarkus-csrf-reactive.adoc @@ -254,11 +254,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-datasource-data-sources-jdbc-runtime-config.adoc b/_generated-doc/main/config/quarkus-datasource-data-sources-jdbc-runtime-config.adoc index 632e834ccc..9bd4783fb4 100644 --- a/_generated-doc/main/config/quarkus-datasource-data-sources-jdbc-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-datasource-data-sources-jdbc-runtime-config.adoc @@ -822,11 +822,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-datasource-data-sources-reactive-runtime-config.adoc b/_generated-doc/main/config/quarkus-datasource-data-sources-reactive-runtime-config.adoc index 265e9f45c0..efacdee4e2 100644 --- a/_generated-doc/main/config/quarkus-datasource-data-sources-reactive-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-datasource-data-sources-reactive-runtime-config.adoc @@ -1071,11 +1071,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elasticsearch-elasticsearch-config.adoc b/_generated-doc/main/config/quarkus-elasticsearch-elasticsearch-config.adoc index bfa314cf24..5afcf330da 100644 --- a/_generated-doc/main/config/quarkus-elasticsearch-elasticsearch-config.adoc +++ b/_generated-doc/main/config/quarkus-elasticsearch-elasticsearch-config.adoc @@ -207,11 +207,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-config-group-elasticsearch-config-discovery-config.adoc b/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-config-group-elasticsearch-config-discovery-config.adoc index ac2efcda6a..156a342734 100644 --- a/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-config-group-elasticsearch-config-discovery-config.adoc +++ b/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-config-group-elasticsearch-config-discovery-config.adoc @@ -50,11 +50,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-general-config-items.adoc b/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-general-config-items.adoc index f883ce1abc..f95356b200 100644 --- a/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel-general-config-items.adoc @@ -50,11 +50,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel.adoc b/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel.adoc index 47acbdb3a3..12aed02a02 100644 --- a/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel.adoc +++ b/_generated-doc/main/config/quarkus-elasticsearch-restclient-lowlevel.adoc @@ -224,11 +224,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elytron-security-ldap-config-dir-context-config.adoc b/_generated-doc/main/config/quarkus-elytron-security-ldap-config-dir-context-config.adoc index c6059cb296..d1b7f88bdd 100644 --- a/_generated-doc/main/config/quarkus-elytron-security-ldap-config-dir-context-config.adoc +++ b/_generated-doc/main/config/quarkus-elytron-security-ldap-config-dir-context-config.adoc @@ -120,11 +120,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elytron-security-ldap-general-config-items.adoc b/_generated-doc/main/config/quarkus-elytron-security-ldap-general-config-items.adoc index 1c2ff83e0c..11ec8b3044 100644 --- a/_generated-doc/main/config/quarkus-elytron-security-ldap-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-elytron-security-ldap-general-config-items.adoc @@ -239,11 +239,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-elytron-security-ldap.adoc b/_generated-doc/main/config/quarkus-elytron-security-ldap.adoc index 9ada1df6ff..dbe58d2959 100644 --- a/_generated-doc/main/config/quarkus-elytron-security-ldap.adoc +++ b/_generated-doc/main/config/quarkus-elytron-security-ldap.adoc @@ -290,11 +290,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-flyway-config-group-flyway-data-source-runtime-config.adoc b/_generated-doc/main/config/quarkus-flyway-config-group-flyway-data-source-runtime-config.adoc index af957c7637..ecaf661aa5 100644 --- a/_generated-doc/main/config/quarkus-flyway-config-group-flyway-data-source-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-flyway-config-group-flyway-data-source-runtime-config.adoc @@ -1089,11 +1089,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-flyway-flyway-runtime-config.adoc b/_generated-doc/main/config/quarkus-flyway-flyway-runtime-config.adoc index f098719018..9cfba34fc2 100644 --- a/_generated-doc/main/config/quarkus-flyway-flyway-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-flyway-flyway-runtime-config.adoc @@ -1106,11 +1106,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-flyway-general-config-items.adoc b/_generated-doc/main/config/quarkus-flyway-general-config-items.adoc index 9d60ab3adb..4a9a87e3ce 100644 --- a/_generated-doc/main/config/quarkus-flyway-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-flyway-general-config-items.adoc @@ -1165,11 +1165,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-flyway.adoc b/_generated-doc/main/config/quarkus-flyway.adoc index cacaf63334..4b04862504 100644 --- a/_generated-doc/main/config/quarkus-flyway.adoc +++ b/_generated-doc/main/config/quarkus-flyway.adoc @@ -1182,11 +1182,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-client-configuration.adoc b/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-client-configuration.adoc index 777a4ddf0a..1b1ac6a000 100644 --- a/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-client-configuration.adoc +++ b/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-client-configuration.adoc @@ -632,8 +632,6 @@ a| [[quarkus-grpc-config-group-config-grpc-client-configuration_quarkus.grpc.cli -- The deadline used for each call. -The format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. - ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_GRPC_CLIENTS__CLIENT_NAME__DEADLINE+++[] endif::add-copy-button-to-env-var[] @@ -650,11 +648,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-configuration.adoc b/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-configuration.adoc index 35e30a0826..2fddb34497 100644 --- a/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-configuration.adoc +++ b/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-configuration.adoc @@ -569,11 +569,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-netty-config.adoc b/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-netty-config.adoc index 77cb28daf2..e36d61d672 100644 --- a/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-netty-config.adoc +++ b/_generated-doc/main/config/quarkus-grpc-config-group-config-grpc-server-netty-config.adoc @@ -68,11 +68,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-grpc-config-grpc-configuration.adoc b/_generated-doc/main/config/quarkus-grpc-config-grpc-configuration.adoc index e7e6ef469a..630f2bb741 100644 --- a/_generated-doc/main/config/quarkus-grpc-config-grpc-configuration.adoc +++ b/_generated-doc/main/config/quarkus-grpc-config-grpc-configuration.adoc @@ -632,8 +632,6 @@ a| [[quarkus-grpc-config-grpc-configuration_quarkus.grpc.clients.-client-name-.d -- The deadline used for each call. -The format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. - ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_GRPC_CLIENTS__CLIENT_NAME__DEADLINE+++[] endif::add-copy-button-to-env-var[] @@ -1209,11 +1207,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-grpc-general-config-items.adoc b/_generated-doc/main/config/quarkus-grpc-general-config-items.adoc index a60f287875..3742450316 100644 --- a/_generated-doc/main/config/quarkus-grpc-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-grpc-general-config-items.adoc @@ -654,8 +654,6 @@ a| [[quarkus-grpc-general-config-items_quarkus.grpc.clients.-client-name-.deadli -- The deadline used for each call. -The format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. - ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_GRPC_CLIENTS__CLIENT_NAME__DEADLINE+++[] endif::add-copy-button-to-env-var[] @@ -1231,11 +1229,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-grpc.adoc b/_generated-doc/main/config/quarkus-grpc.adoc index ca1aca5b84..f3f2e3af09 100644 --- a/_generated-doc/main/config/quarkus-grpc.adoc +++ b/_generated-doc/main/config/quarkus-grpc.adoc @@ -747,8 +747,6 @@ a| [[quarkus-grpc_quarkus.grpc.clients.-client-name-.deadline]]`link:#quarkus-gr -- The deadline used for each call. -The format uses the standard `java.time.Duration` format. You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. - ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_GRPC_CLIENTS__CLIENT_NAME__DEADLINE+++[] endif::add-copy-button-to-env-var[] @@ -1324,11 +1322,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database.adoc b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database.adoc index 5476ede14f..c2ace4c10b 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database.adoc @@ -65,89 +65,4 @@ endif::add-copy-button-to-env-var[] |`UTF-8` - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.generation]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.generation[quarkus.hibernate-orm.database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.generation.create-schemas[quarkus.hibernate-orm.database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.generation.halt-on-error[quarkus.hibernate-orm.database.generation.halt-on-error]` - - -[.description] --- -Whether we should stop on the first error when applying the schema. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.default-catalog]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.default-catalog[quarkus.hibernate-orm.database.default-catalog]` - - -[.description] --- -The default catalog to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.default-schema]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-database_quarkus.hibernate-orm.database.default-schema[quarkus.hibernate-orm.database.default-schema]` - - -[.description] --- -The default schema to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++` -endif::add-copy-button-to-env-var[] ---|string -| - |=== \ No newline at end of file diff --git a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log.adoc b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log.adoc index eac64f791e..45220df5b7 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log.adoc @@ -28,74 +28,4 @@ endif::add-copy-button-to-env-var[] --|boolean |`false` - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.sql]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.sql[quarkus.hibernate-orm.log.sql]` - - -[.description] --- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.format-sql]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.format-sql[quarkus.hibernate-orm.log.format-sql]` - - -[.description] --- -Format the SQL logs if SQL log is enabled - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.jdbc-warnings[quarkus.hibernate-orm.log.jdbc-warnings]` - - -[.description] --- -Whether JDBC warnings should be collected and logged. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-hibernate-orm-config-log_quarkus.hibernate-orm.log.queries-slower-than-ms[quarkus.hibernate-orm.log.queries-slower-than-ms]` - - -[.description] --- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++` -endif::add-copy-button-to-env-var[] ---|long -| - |=== \ No newline at end of file diff --git a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit-hibernate-orm-config-persistence-unit-cache.adoc b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit-hibernate-orm-config-persistence-unit-cache.adoc index 780b98a52b..ea2ec9e517 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit-hibernate-orm-config-persistence-unit-cache.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit-hibernate-orm-config-persistence-unit-cache.adoc @@ -85,11 +85,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit.adoc b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit.adoc index 18deb96b5e..b962fca101 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit.adoc @@ -954,62 +954,6 @@ endif::add-copy-button-to-env-var[] |`true` -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.active]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.active[quarkus.hibernate-orm."persistence-unit-name".active]` - - -[.description] --- -Whether this persistence unit should be active at runtime. - -If the persistence unit is not active, it won't start with the application, -and accessing the corresponding EntityManagerFactory/EntityManager or SessionFactory/Session -will not be possible. - -Note that if Hibernate ORM is disabled (i.e. `quarkus.hibernate-orm.enabled` is set to `false`), -all persistence units are deactivated, and setting this property to `true` will fail. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__ACTIVE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__ACTIVE+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`'true' if Hibernate ORM is enabled; 'false' otherwise` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.unsupported-properties-full-property-key]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.unsupported-properties-full-property-key[quarkus.hibernate-orm."persistence-unit-name".unsupported-properties]` - - -[.description] --- -Properties that should be passed on directly to Hibernate ORM. -Use the full configuration property key here, -for instance `quarkus.hibernate-orm.unsupported-properties."hibernate.order_inserts" = true`. - -[WARNING] -==== -Properties set here are completely unsupported: -as Quarkus doesn't generally know about these properties and their purpose, -there is absolutely no guarantee that they will work correctly, -and even if they do, that may change when upgrading to a newer version of Quarkus -(even just a micro/patch version). -==== - -Consider using a supported configuration property before falling back to unsupported ones. -If none exists, make sure to file a feature request so that a supported configuration property can be added to Quarkus, -and more importantly so that the configuration property is tested regularly. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__UNSUPPORTED_PROPERTIES+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__UNSUPPORTED_PROPERTIES+++` -endif::add-copy-button-to-env-var[] ---|`Map` -| - - h|[[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.dialect-dialect-related-configuration]]link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.dialect-dialect-related-configuration[Dialect related configuration] h|Type @@ -1236,91 +1180,6 @@ endif::add-copy-button-to-env-var[] |`UTF-8` -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.generation]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.generation[quarkus.hibernate-orm."persistence-unit-name".database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas[quarkus.hibernate-orm."persistence-unit-name".database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error[quarkus.hibernate-orm."persistence-unit-name".database.generation.halt-on-error]` - - -[.description] --- -Whether we should stop on the first error when applying the schema. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog[quarkus.hibernate-orm."persistence-unit-name".database.default-catalog]` - - -[.description] --- -The default catalog to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema[quarkus.hibernate-orm."persistence-unit-name".database.default-schema]` - - -[.description] --- -The default schema to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++` -endif::add-copy-button-to-env-var[] ---|string -| - - h|[[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration]]link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration[JDBC related configuration] h|Type @@ -1481,148 +1340,23 @@ endif::add-copy-button-to-env-var[] --|boolean |`false` - -h|[[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration[Database scripts related configuration] - -h|Type -h|Default - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation[quarkus.hibernate-orm."persistence-unit-name".scripts.generation]` - - -[.description] --- -Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.create-target]` - - -[.description] --- -Filename or URL where the database create DDL file should be generated. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.drop-target]` - - -[.description] --- -Filename or URL where the database drop DDL file should be generated. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -h|[[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration]]link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration[Logging configuration] - -h|Type -h|Default - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.sql]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.sql[quarkus.hibernate-orm."persistence-unit-name".log.sql]` - - -[.description] --- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql[quarkus.hibernate-orm."persistence-unit-name".log.format-sql]` - - -[.description] --- -Format the SQL logs if SQL log is enabled - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings[quarkus.hibernate-orm."persistence-unit-name".log.jdbc-warnings]` - - -[.description] --- -Whether JDBC warnings should be collected and logged. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` - - -a| [[quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-config-group-hibernate-orm-config-persistence-unit_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms[quarkus.hibernate-orm."persistence-unit-name".log.queries-slower-than-ms]` - - -[.description] --- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++` -endif::add-copy-button-to-env-var[] ---|long -| - |=== ifndef::no-duration-note[] [NOTE] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-orm-general-config-items.adoc b/_generated-doc/main/config/quarkus-hibernate-orm-general-config-items.adoc index 6c96e6fe81..dd0d7a6c53 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm-general-config-items.adoc @@ -376,152 +376,6 @@ endif::add-copy-button-to-env-var[] | -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database-database-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database-database-related-configuration[Database related configuration] - -h|Type -h|Default - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.orm-compatibility.version]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.orm-compatibility.version[quarkus.hibernate-orm.database.orm-compatibility.version]` - - -[.description] --- -When set, attempts to exchange data with the database -as the given version of Hibernate ORM would have, -*on a best-effort basis*. - -Please note: - -* schema validation may still fail in some cases: -this attempts to make Hibernate ORM 6+ behave correctly at runtime, -but it may still expect a different (but runtime-compatible) schema. -* robust test suites are still useful and recommended: -you should still check that your application behaves as intended with your legacy schema. -* this feature is inherently unstable: -some aspects of it may stop working in future versions of Quarkus, -and older versions will be dropped as Hibernate ORM changes pile up -and support for those older versions becomes too unreliable. -* you should still plan a migration of your schema to a newer version of Hibernate ORM. -For help with migration, refer to -link:https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0:-Hibernate-ORM-5-to-6-migration[the Quarkus 3 -migration guide from Hibernate ORM 5 to 6]. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++` -endif::add-copy-button-to-env-var[] --- a| -`5.6`, `latest` -|`latest` - - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.charset]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.charset[quarkus.hibernate-orm.database.charset]` - - -[.description] --- -The charset of the database. - -Used for DDL generation and also for the SQL import scripts. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] - -|`UTF-8` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation[quarkus.hibernate-orm.database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.create-schemas[quarkus.hibernate-orm.database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.halt-on-error[quarkus.hibernate-orm.database.generation.halt-on-error]` - - -[.description] --- -Whether we should stop on the first error when applying the schema. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-catalog]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-catalog[quarkus.hibernate-orm.database.default-catalog]` - - -[.description] --- -The default catalog to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-schema]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-schema[quarkus.hibernate-orm.database.default-schema]` - - -[.description] --- -The default schema to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++` -endif::add-copy-button-to-env-var[] ---|string -| - - h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.dialect-dialect-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.dialect-dialect-related-configuration[Dialect related configuration] h|Type @@ -884,123 +738,419 @@ endif::add-copy-button-to-env-var[] |`false` -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units[Additional named persistence units] +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database-database-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database-database-related-configuration[Database related configuration] h|Type h|Default -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.datasource]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.datasource[quarkus.hibernate-orm."persistence-unit-name".datasource]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.orm-compatibility.version]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.orm-compatibility.version[quarkus.hibernate-orm.database.orm-compatibility.version]` [.description] -- -The name of the datasource which this persistence unit uses. +When set, attempts to exchange data with the database +as the given version of Hibernate ORM would have, +*on a best-effort basis*. -If undefined, it will use the default datasource. +Please note: + +* schema validation may still fail in some cases: +this attempts to make Hibernate ORM 6+ behave correctly at runtime, +but it may still expect a different (but runtime-compatible) schema. +* robust test suites are still useful and recommended: +you should still check that your application behaves as intended with your legacy schema. +* this feature is inherently unstable: +some aspects of it may stop working in future versions of Quarkus, +and older versions will be dropped as Hibernate ORM changes pile up +and support for those older versions becomes too unreliable. +* you should still plan a migration of your schema to a newer version of Hibernate ORM. +For help with migration, refer to +link:https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0:-Hibernate-ORM-5-to-6-migration[the Quarkus 3 +migration guide from Hibernate ORM 5 to 6]. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++` endif::add-copy-button-to-env-var[] ---|string -| +-- a| +`5.6`, `latest` +|`latest` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.packages]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.packages[quarkus.hibernate-orm."persistence-unit-name".packages]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.charset]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.charset[quarkus.hibernate-orm.database.charset]` [.description] -- -The packages in which the entities affected to this persistence unit are located. +The charset of the database. + +Used for DDL generation and also for the SQL import scripts. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++` endif::add-copy-button-to-env-var[] ---|list of string -| +--|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] + +|`UTF-8` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script[quarkus.hibernate-orm."persistence-unit-name".sql-load-script]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation[quarkus.hibernate-orm.database.generation]` [.description] -- -Path to a file containing the SQL statements to execute when Hibernate ORM starts. - -The file is retrieved from the classpath resources, -so it must be located in the resources directory (e.g. `src/main/resources`). - -The default value for this setting differs depending on the Quarkus launch mode: - -* In dev and test modes, it defaults to `import.sql`. - Simply add an `import.sql` file in the root of your resources directory - and it will be picked up without having to set this property. - Pass `no-file` to force Hibernate ORM to ignore the SQL import file. -* In production mode, it defaults to `no-file`. - It means Hibernate ORM won't try to execute any SQL import file by default. - Pass an explicit value to force Hibernate ORM to execute the SQL import file. - -If you need different SQL statements between dev mode, test (`@QuarkusTest`) and in production, use Quarkus -https://quarkus.io/guides/config#configuration-profiles[configuration profiles facility]. - -[source,property] -.application.properties ----- -%dev.quarkus.hibernate-orm.sql-load-script = import-dev.sql -%test.quarkus.hibernate-orm.sql-load-script = import-test.sql -%prod.quarkus.hibernate-orm.sql-load-script = no-file ----- - -[NOTE] -==== -Quarkus supports `.sql` file with SQL statements or comments spread over multiple lines. -Each SQL statement must be terminated by a semicolon. -==== +Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++` endif::add-copy-button-to-env-var[] ---|list of string -|`import.sql in DEV, TEST ; no-file otherwise` +--|string +|`none` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".physical-naming-strategy]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.create-schemas[quarkus.hibernate-orm.database.generation.create-schemas]` [.description] -- -Pluggable strategy contract for applying physical naming rules for database object names. Class name of the Hibernate PhysicalNamingStrategy implementation +If Hibernate ORM should create the schemas automatically (for databases supporting them). ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`false` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".implicit-naming-strategy]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.generation.halt-on-error[quarkus.hibernate-orm.database.generation.halt-on-error]` [.description] -- -Pluggable strategy for applying implicit naming rules when an explicit name is not given. Class name of the Hibernate ImplicitNamingStrategy implementation +Whether we should stop on the first error when applying the schema. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-catalog]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-catalog[quarkus.hibernate-orm.database.default-catalog]` + + +[.description] +-- +The default catalog to use for the database objects. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-schema]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.database.default-schema[quarkus.hibernate-orm.database.default-schema]` + + +[.description] +-- +The default schema to use for the database objects. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts-database-scripts-related-configuration[Database scripts related configuration] + +h|Type +h|Default + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation[quarkus.hibernate-orm.scripts.generation]` + + +[.description] +-- +Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++` +endif::add-copy-button-to-env-var[] +--|string +|`none` + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.create-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.create-target[quarkus.hibernate-orm.scripts.generation.create-target]` + + +[.description] +-- +Filename or URL where the database create DDL file should be generated. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.drop-target[quarkus.hibernate-orm.scripts.generation.drop-target]` + + +[.description] +-- +Filename or URL where the database drop DDL file should be generated. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log-logging-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log-logging-configuration[Logging configuration] + +h|Type +h|Default + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.bind-parameters]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.bind-parameters[quarkus.hibernate-orm.log.bind-parameters]` + + +[.description] +-- +Logs SQL bind parameters. + +Setting it to true is obviously not recommended in production. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.sql[quarkus.hibernate-orm.log.sql]` + + +[.description] +-- +Show SQL logs and format them nicely. + +Setting it to true is obviously not recommended in production. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.format-sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.format-sql[quarkus.hibernate-orm.log.format-sql]` + + +[.description] +-- +Format the SQL logs if SQL log is enabled + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`true` + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.jdbc-warnings[quarkus.hibernate-orm.log.jdbc-warnings]` + + +[.description] +-- +Whether JDBC warnings should be collected and logged. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`depends on dialect` + + +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.queries-slower-than-ms[quarkus.hibernate-orm.log.queries-slower-than-ms]` + + +[.description] +-- +If set, Hibernate will log queries that took more than specified number of milliseconds to execute. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++` +endif::add-copy-button-to-env-var[] +--|long +| + + +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units[Additional named persistence units] + +h|Type +h|Default + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.datasource]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.datasource[quarkus.hibernate-orm."persistence-unit-name".datasource]` + + +[.description] +-- +The name of the datasource which this persistence unit uses. + +If undefined, it will use the default datasource. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.packages]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.packages[quarkus.hibernate-orm."persistence-unit-name".packages]` + + +[.description] +-- +The packages in which the entities affected to this persistence unit are located. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++` +endif::add-copy-button-to-env-var[] +--|list of string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script[quarkus.hibernate-orm."persistence-unit-name".sql-load-script]` + + +[.description] +-- +Path to a file containing the SQL statements to execute when Hibernate ORM starts. + +The file is retrieved from the classpath resources, +so it must be located in the resources directory (e.g. `src/main/resources`). + +The default value for this setting differs depending on the Quarkus launch mode: + +* In dev and test modes, it defaults to `import.sql`. + Simply add an `import.sql` file in the root of your resources directory + and it will be picked up without having to set this property. + Pass `no-file` to force Hibernate ORM to ignore the SQL import file. +* In production mode, it defaults to `no-file`. + It means Hibernate ORM won't try to execute any SQL import file by default. + Pass an explicit value to force Hibernate ORM to execute the SQL import file. + +If you need different SQL statements between dev mode, test (`@QuarkusTest`) and in production, use Quarkus +https://quarkus.io/guides/config#configuration-profiles[configuration profiles facility]. + +[source,property] +.application.properties +---- +%dev.quarkus.hibernate-orm.sql-load-script = import-dev.sql +%test.quarkus.hibernate-orm.sql-load-script = import-test.sql +%prod.quarkus.hibernate-orm.sql-load-script = no-file +---- + +[NOTE] +==== +Quarkus supports `.sql` file with SQL statements or comments spread over multiple lines. +Each SQL statement must be terminated by a semicolon. +==== + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++` +endif::add-copy-button-to-env-var[] +--|list of string +|`import.sql in DEV, TEST ; no-file otherwise` + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".physical-naming-strategy]` + + +[.description] +-- +Pluggable strategy contract for applying physical naming rules for database object names. Class name of the Hibernate PhysicalNamingStrategy implementation + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".implicit-naming-strategy]` + + +[.description] +-- +Pluggable strategy for applying implicit naming rules when an explicit name is not given. Class name of the Hibernate ImplicitNamingStrategy implementation + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++` endif::add-copy-button-to-env-var[] --|string | @@ -1356,180 +1506,70 @@ ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__MAPPING_ID_OPTIMIZER_DEFAULT+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__MAPPING_ID_OPTIMIZER_DEFAULT+++` -endif::add-copy-button-to-env-var[] --- a| -`pooled-lo`, `pooled`, `none` -|`pooled-lo` - - -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration[Query related configuration] - -h|Type -h|Default - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size[quarkus.hibernate-orm."persistence-unit-name".query.query-plan-cache-max-size]` - - -[.description] --- -The maximum size of the query plan cache. see ++#++`org.hibernate.cfg.AvailableSettings++#++QUERY_PLAN_CACHE_MAX_SIZE` - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++` -endif::add-copy-button-to-env-var[] ---|int -|`2048` - - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering[quarkus.hibernate-orm."persistence-unit-name".query.default-null-ordering]` - - -[.description] --- -Default precedence of null values in `ORDER BY` clauses. - -Valid values are: `none`, `first`, `last`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++` -endif::add-copy-button-to-env-var[] --- a| -`none`, `first`, `last` -|`none` - - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding[quarkus.hibernate-orm."persistence-unit-name".query.in-clause-parameter-padding]` - - -[.description] --- -Enables IN clause parameter padding which improves statement caching. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration[Database related configuration] - -h|Type -h|Default - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.charset]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.charset[quarkus.hibernate-orm."persistence-unit-name".database.charset]` - - -[.description] --- -The charset of the database. - -Used for DDL generation and also for the SQL import scripts. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] - -|`UTF-8` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation[quarkus.hibernate-orm."persistence-unit-name".database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas[quarkus.hibernate-orm."persistence-unit-name".database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__MAPPING_ID_OPTIMIZER_DEFAULT+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +-- a| +`pooled-lo`, `pooled`, `none` +|`pooled-lo` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error[quarkus.hibernate-orm."persistence-unit-name".database.generation.halt-on-error]` +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration[Query related configuration] + +h|Type +h|Default + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size[quarkus.hibernate-orm."persistence-unit-name".query.query-plan-cache-max-size]` [.description] -- -Whether we should stop on the first error when applying the schema. +The maximum size of the query plan cache. see ++#++`org.hibernate.cfg.AvailableSettings++#++QUERY_PLAN_CACHE_MAX_SIZE` ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +--|int +|`2048` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog[quarkus.hibernate-orm."persistence-unit-name".database.default-catalog]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering[quarkus.hibernate-orm."persistence-unit-name".query.default-null-ordering]` [.description] -- -The default catalog to use for the database objects. +Default precedence of null values in `ORDER BY` clauses. + +Valid values are: `none`, `first`, `last`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++` endif::add-copy-button-to-env-var[] ---|string -| +-- a| +`none`, `first`, `last` +|`none` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema[quarkus.hibernate-orm."persistence-unit-name".database.default-schema]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding[quarkus.hibernate-orm."persistence-unit-name".query.in-clause-parameter-padding]` [.description] -- -The default schema to use for the database objects. +Enables IN clause parameter padding which improves statement caching. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`true` h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration[JDBC related configuration] @@ -1693,284 +1733,244 @@ endif::add-copy-button-to-env-var[] |`false` -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration[Database scripts related configuration] +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration[Database related configuration] h|Type h|Default -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation[quarkus.hibernate-orm."persistence-unit-name".scripts.generation]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.charset]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.charset[quarkus.hibernate-orm."persistence-unit-name".database.charset]` [.description] -- -Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.create-target]` - +The charset of the database. -[.description] --- -Filename or URL where the database create DDL file should be generated. +Used for DDL generation and also for the SQL import scripts. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++` endif::add-copy-button-to-env-var[] ---|string -| +--|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] + +|`UTF-8` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.drop-target]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation[quarkus.hibernate-orm."persistence-unit-name".database.generation]` [.description] -- -Filename or URL where the database drop DDL file should be generated. +Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++` endif::add-copy-button-to-env-var[] --|string -| - - -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration[Logging configuration] +|`none` -h|Type -h|Default -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.sql[quarkus.hibernate-orm."persistence-unit-name".log.sql]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas[quarkus.hibernate-orm."persistence-unit-name".database.generation.create-schemas]` [.description] -- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. +If Hibernate ORM should create the schemas automatically (for databases supporting them). ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++` endif::add-copy-button-to-env-var[] --|boolean |`false` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql[quarkus.hibernate-orm."persistence-unit-name".log.format-sql]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error[quarkus.hibernate-orm."persistence-unit-name".database.generation.halt-on-error]` [.description] -- -Format the SQL logs if SQL log is enabled +Whether we should stop on the first error when applying the schema. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++` endif::add-copy-button-to-env-var[] --|boolean -|`true` +|`false` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings[quarkus.hibernate-orm."persistence-unit-name".log.jdbc-warnings]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog[quarkus.hibernate-orm."persistence-unit-name".database.default-catalog]` [.description] -- -Whether JDBC warnings should be collected and logged. +The default catalog to use for the database objects. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++` endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` +--|string +| -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms[quarkus.hibernate-orm."persistence-unit-name".log.queries-slower-than-ms]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema[quarkus.hibernate-orm."persistence-unit-name".database.default-schema]` [.description] -- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. +The default schema to use for the database objects. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++` endif::add-copy-button-to-env-var[] ---|long +--|string | -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log-logging-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log-logging-configuration[Logging configuration] +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration[Database scripts related configuration] h|Type h|Default -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.bind-parameters]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.bind-parameters[quarkus.hibernate-orm.log.bind-parameters]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation[quarkus.hibernate-orm."persistence-unit-name".scripts.generation]` [.description] -- -Logs SQL bind parameters. - -Setting it to true is obviously not recommended in production. +Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +--|string +|`none` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.sql[quarkus.hibernate-orm.log.sql]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.create-target]` [.description] -- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. +Filename or URL where the database create DDL file should be generated. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +--|string +| -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.format-sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.format-sql[quarkus.hibernate-orm.log.format-sql]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.drop-target]` [.description] -- -Format the SQL logs if SQL log is enabled +Filename or URL where the database drop DDL file should be generated. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++` endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.jdbc-warnings[quarkus.hibernate-orm.log.jdbc-warnings]` - +--|string +| -[.description] --- -Whether JDBC warnings should be collected and logged. -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` +h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration[Logging configuration] +h|Type +h|Default -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.log.queries-slower-than-ms[quarkus.hibernate-orm.log.queries-slower-than-ms]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.sql[quarkus.hibernate-orm."persistence-unit-name".log.sql]` [.description] -- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. +Show SQL logs and format them nicely. + +Setting it to true is obviously not recommended in production. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++` endif::add-copy-button-to-env-var[] ---|long -| - - -h|[[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts-database-scripts-related-configuration[Database scripts related configuration] +--|boolean +|`false` -h|Type -h|Default -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation[quarkus.hibernate-orm.scripts.generation]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql[quarkus.hibernate-orm."persistence-unit-name".log.format-sql]` [.description] -- -Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. +Format the SQL logs if SQL log is enabled ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++` endif::add-copy-button-to-env-var[] ---|string -|`none` +--|boolean +|`true` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.create-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.create-target[quarkus.hibernate-orm.scripts.generation.create-target]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings[quarkus.hibernate-orm."persistence-unit-name".log.jdbc-warnings]` [.description] -- -Filename or URL where the database create DDL file should be generated. +Whether JDBC warnings should be collected and logged. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`depends on dialect` -a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.scripts.generation.drop-target[quarkus.hibernate-orm.scripts.generation.drop-target]` +a| [[quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-general-config-items_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms[quarkus.hibernate-orm."persistence-unit-name".log.queries-slower-than-ms]` [.description] -- -Filename or URL where the database drop DDL file should be generated. +If set, Hibernate will log queries that took more than specified number of milliseconds to execute. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++` endif::add-copy-button-to-env-var[] ---|string +--|long | |=== @@ -1979,11 +1979,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-orm-hibernate-orm-config.adoc b/_generated-doc/main/config/quarkus-hibernate-orm-hibernate-orm-config.adoc index 993748b4d0..4de830149a 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm-hibernate-orm-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm-hibernate-orm-config.adoc @@ -436,91 +436,6 @@ endif::add-copy-button-to-env-var[] |`UTF-8` -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.generation]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.generation[quarkus.hibernate-orm.database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.generation.create-schemas[quarkus.hibernate-orm.database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.generation.halt-on-error[quarkus.hibernate-orm.database.generation.halt-on-error]` - - -[.description] --- -Whether we should stop on the first error when applying the schema. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.default-catalog]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.default-catalog[quarkus.hibernate-orm.database.default-catalog]` - - -[.description] --- -The default catalog to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.default-schema]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.database.default-schema[quarkus.hibernate-orm.database.default-schema]` - - -[.description] --- -The default schema to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++` -endif::add-copy-button-to-env-var[] ---|string -| - - h|[[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.dialect-dialect-related-configuration]]link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.dialect-dialect-related-configuration[Dialect related configuration] h|Type @@ -1164,62 +1079,6 @@ endif::add-copy-button-to-env-var[] |`true` -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.active]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.active[quarkus.hibernate-orm."persistence-unit-name".active]` - - -[.description] --- -Whether this persistence unit should be active at runtime. - -If the persistence unit is not active, it won't start with the application, -and accessing the corresponding EntityManagerFactory/EntityManager or SessionFactory/Session -will not be possible. - -Note that if Hibernate ORM is disabled (i.e. `quarkus.hibernate-orm.enabled` is set to `false`), -all persistence units are deactivated, and setting this property to `true` will fail. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__ACTIVE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__ACTIVE+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`'true' if Hibernate ORM is enabled; 'false' otherwise` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.unsupported-properties-full-property-key]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.unsupported-properties-full-property-key[quarkus.hibernate-orm."persistence-unit-name".unsupported-properties]` - - -[.description] --- -Properties that should be passed on directly to Hibernate ORM. -Use the full configuration property key here, -for instance `quarkus.hibernate-orm.unsupported-properties."hibernate.order_inserts" = true`. - -[WARNING] -==== -Properties set here are completely unsupported: -as Quarkus doesn't generally know about these properties and their purpose, -there is absolutely no guarantee that they will work correctly, -and even if they do, that may change when upgrading to a newer version of Quarkus -(even just a micro/patch version). -==== - -Consider using a supported configuration property before falling back to unsupported ones. -If none exists, make sure to file a feature request so that a supported configuration property can be added to Quarkus, -and more importantly so that the configuration property is tested regularly. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__UNSUPPORTED_PROPERTIES+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__UNSUPPORTED_PROPERTIES+++` -endif::add-copy-button-to-env-var[] ---|`Map` -| - - h|[[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.dialect-dialect-related-configuration]]link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.dialect-dialect-related-configuration[Dialect related configuration] h|Type @@ -1446,91 +1305,6 @@ endif::add-copy-button-to-env-var[] |`UTF-8` -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.generation]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.generation[quarkus.hibernate-orm."persistence-unit-name".database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas[quarkus.hibernate-orm."persistence-unit-name".database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error[quarkus.hibernate-orm."persistence-unit-name".database.generation.halt-on-error]` - - -[.description] --- -Whether we should stop on the first error when applying the schema. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog[quarkus.hibernate-orm."persistence-unit-name".database.default-catalog]` - - -[.description] --- -The default catalog to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema[quarkus.hibernate-orm."persistence-unit-name".database.default-schema]` - - -[.description] --- -The default schema to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++` -endif::add-copy-button-to-env-var[] ---|string -| - - h|[[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration]]link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration[JDBC related configuration] h|Type @@ -1692,137 +1466,6 @@ endif::add-copy-button-to-env-var[] |`false` -h|[[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration[Database scripts related configuration] - -h|Type -h|Default - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation[quarkus.hibernate-orm."persistence-unit-name".scripts.generation]` - - -[.description] --- -Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.create-target]` - - -[.description] --- -Filename or URL where the database create DDL file should be generated. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.drop-target]` - - -[.description] --- -Filename or URL where the database drop DDL file should be generated. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -h|[[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration]]link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration[Logging configuration] - -h|Type -h|Default - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.sql]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.sql[quarkus.hibernate-orm."persistence-unit-name".log.sql]` - - -[.description] --- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql[quarkus.hibernate-orm."persistence-unit-name".log.format-sql]` - - -[.description] --- -Format the SQL logs if SQL log is enabled - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings[quarkus.hibernate-orm."persistence-unit-name".log.jdbc-warnings]` - - -[.description] --- -Whether JDBC warnings should be collected and logged. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms[quarkus.hibernate-orm."persistence-unit-name".log.queries-slower-than-ms]` - - -[.description] --- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++` -endif::add-copy-button-to-env-var[] ---|long -| - - h|[[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log-logging-configuration]]link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log-logging-configuration[Logging configuration] h|Type @@ -1846,87 +1489,23 @@ endif::add-copy-button-to-env-var[] --|boolean |`false` - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.sql]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.sql[quarkus.hibernate-orm.log.sql]` - - -[.description] --- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.format-sql]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.format-sql[quarkus.hibernate-orm.log.format-sql]` - - -[.description] --- -Format the SQL logs if SQL log is enabled - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.jdbc-warnings]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.jdbc-warnings[quarkus.hibernate-orm.log.jdbc-warnings]` - - -[.description] --- -Whether JDBC warnings should be collected and logged. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` - - -a| [[quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm-hibernate-orm-config_quarkus.hibernate-orm.log.queries-slower-than-ms[quarkus.hibernate-orm.log.queries-slower-than-ms]` - - -[.description] --- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++` -endif::add-copy-button-to-env-var[] ---|long -| - |=== ifndef::no-duration-note[] [NOTE] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-orm.adoc b/_generated-doc/main/config/quarkus-hibernate-orm.adoc index f44bcc9bb7..c8253ea6b8 100644 --- a/_generated-doc/main/config/quarkus-hibernate-orm.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-orm.adoc @@ -431,152 +431,6 @@ endif::add-copy-button-to-env-var[] | -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.database-database-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database-database-related-configuration[Database related configuration] - -h|Type -h|Default - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.orm-compatibility.version]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.orm-compatibility.version[quarkus.hibernate-orm.database.orm-compatibility.version]` - - -[.description] --- -When set, attempts to exchange data with the database -as the given version of Hibernate ORM would have, -*on a best-effort basis*. - -Please note: - -* schema validation may still fail in some cases: -this attempts to make Hibernate ORM 6+ behave correctly at runtime, -but it may still expect a different (but runtime-compatible) schema. -* robust test suites are still useful and recommended: -you should still check that your application behaves as intended with your legacy schema. -* this feature is inherently unstable: -some aspects of it may stop working in future versions of Quarkus, -and older versions will be dropped as Hibernate ORM changes pile up -and support for those older versions becomes too unreliable. -* you should still plan a migration of your schema to a newer version of Hibernate ORM. -For help with migration, refer to -link:https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0:-Hibernate-ORM-5-to-6-migration[the Quarkus 3 -migration guide from Hibernate ORM 5 to 6]. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++` -endif::add-copy-button-to-env-var[] --- a| -`5.6`, `latest` -|`latest` - - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.charset]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.charset[quarkus.hibernate-orm.database.charset]` - - -[.description] --- -The charset of the database. - -Used for DDL generation and also for the SQL import scripts. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] - -|`UTF-8` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation[quarkus.hibernate-orm.database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.create-schemas]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.create-schemas[quarkus.hibernate-orm.database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.halt-on-error[quarkus.hibernate-orm.database.generation.halt-on-error]` - - -[.description] --- -Whether we should stop on the first error when applying the schema. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-catalog]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-catalog[quarkus.hibernate-orm.database.default-catalog]` - - -[.description] --- -The default catalog to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-schema]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-schema[quarkus.hibernate-orm.database.default-schema]` - - -[.description] --- -The default schema to use for the database objects. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++` -endif::add-copy-button-to-env-var[] ---|string -| - - h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.dialect-dialect-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.dialect-dialect-related-configuration[Dialect related configuration] h|Type @@ -939,123 +793,419 @@ endif::add-copy-button-to-env-var[] |`false` -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units[Additional named persistence units] +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.database-database-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database-database-related-configuration[Database related configuration] h|Type h|Default -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.datasource]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.datasource[quarkus.hibernate-orm."persistence-unit-name".datasource]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.orm-compatibility.version]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.orm-compatibility.version[quarkus.hibernate-orm.database.orm-compatibility.version]` [.description] -- -The name of the datasource which this persistence unit uses. +When set, attempts to exchange data with the database +as the given version of Hibernate ORM would have, +*on a best-effort basis*. -If undefined, it will use the default datasource. +Please note: + +* schema validation may still fail in some cases: +this attempts to make Hibernate ORM 6+ behave correctly at runtime, +but it may still expect a different (but runtime-compatible) schema. +* robust test suites are still useful and recommended: +you should still check that your application behaves as intended with your legacy schema. +* this feature is inherently unstable: +some aspects of it may stop working in future versions of Quarkus, +and older versions will be dropped as Hibernate ORM changes pile up +and support for those older versions becomes too unreliable. +* you should still plan a migration of your schema to a newer version of Hibernate ORM. +For help with migration, refer to +link:https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0:-Hibernate-ORM-5-to-6-migration[the Quarkus 3 +migration guide from Hibernate ORM 5 to 6]. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_ORM_COMPATIBILITY_VERSION+++` endif::add-copy-button-to-env-var[] ---|string -| +-- a| +`5.6`, `latest` +|`latest` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.packages]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.packages[quarkus.hibernate-orm."persistence-unit-name".packages]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.charset]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.charset[quarkus.hibernate-orm.database.charset]` [.description] -- -The packages in which the entities affected to this persistence unit are located. +The charset of the database. + +Used for DDL generation and also for the SQL import scripts. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_CHARSET+++` endif::add-copy-button-to-env-var[] ---|list of string -| +--|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] + +|`UTF-8` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script[quarkus.hibernate-orm."persistence-unit-name".sql-load-script]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation[quarkus.hibernate-orm.database.generation]` [.description] -- -Path to a file containing the SQL statements to execute when Hibernate ORM starts. - -The file is retrieved from the classpath resources, -so it must be located in the resources directory (e.g. `src/main/resources`). - -The default value for this setting differs depending on the Quarkus launch mode: - -* In dev and test modes, it defaults to `import.sql`. - Simply add an `import.sql` file in the root of your resources directory - and it will be picked up without having to set this property. - Pass `no-file` to force Hibernate ORM to ignore the SQL import file. -* In production mode, it defaults to `no-file`. - It means Hibernate ORM won't try to execute any SQL import file by default. - Pass an explicit value to force Hibernate ORM to execute the SQL import file. - -If you need different SQL statements between dev mode, test (`@QuarkusTest`) and in production, use Quarkus -https://quarkus.io/guides/config#configuration-profiles[configuration profiles facility]. - -[source,property] -.application.properties ----- -%dev.quarkus.hibernate-orm.sql-load-script = import-dev.sql -%test.quarkus.hibernate-orm.sql-load-script = import-test.sql -%prod.quarkus.hibernate-orm.sql-load-script = no-file ----- - -[NOTE] -==== -Quarkus supports `.sql` file with SQL statements or comments spread over multiple lines. -Each SQL statement must be terminated by a semicolon. -==== +Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION+++` endif::add-copy-button-to-env-var[] ---|list of string -|`import.sql in DEV, TEST ; no-file otherwise` +--|string +|`none` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".physical-naming-strategy]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.create-schemas]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.create-schemas[quarkus.hibernate-orm.database.generation.create-schemas]` [.description] -- -Pluggable strategy contract for applying physical naming rules for database object names. Class name of the Hibernate PhysicalNamingStrategy implementation +If Hibernate ORM should create the schemas automatically (for databases supporting them). ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_CREATE_SCHEMAS+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`false` -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".implicit-naming-strategy]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.generation.halt-on-error[quarkus.hibernate-orm.database.generation.halt-on-error]` [.description] -- -Pluggable strategy for applying implicit naming rules when an explicit name is not given. Class name of the Hibernate ImplicitNamingStrategy implementation +Whether we should stop on the first error when applying the schema. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION_HALT_ON_ERROR+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-catalog]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-catalog[quarkus.hibernate-orm.database.default-catalog]` + + +[.description] +-- +The default catalog to use for the database objects. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_CATALOG+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-schema]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.database.default-schema[quarkus.hibernate-orm.database.default-schema]` + + +[.description] +-- +The default schema to use for the database objects. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_DATABASE_DEFAULT_SCHEMA+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts-database-scripts-related-configuration[Database scripts related configuration] + +h|Type +h|Default + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation[quarkus.hibernate-orm.scripts.generation]` + + +[.description] +-- +Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++` +endif::add-copy-button-to-env-var[] +--|string +|`none` + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.create-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.create-target[quarkus.hibernate-orm.scripts.generation.create-target]` + + +[.description] +-- +Filename or URL where the database create DDL file should be generated. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.drop-target[quarkus.hibernate-orm.scripts.generation.drop-target]` + + +[.description] +-- +Filename or URL where the database drop DDL file should be generated. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.log-logging-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log-logging-configuration[Logging configuration] + +h|Type +h|Default + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.bind-parameters]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.bind-parameters[quarkus.hibernate-orm.log.bind-parameters]` + + +[.description] +-- +Logs SQL bind parameters. + +Setting it to true is obviously not recommended in production. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.sql[quarkus.hibernate-orm.log.sql]` + + +[.description] +-- +Show SQL logs and format them nicely. + +Setting it to true is obviously not recommended in production. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`false` + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.format-sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.format-sql[quarkus.hibernate-orm.log.format-sql]` + + +[.description] +-- +Format the SQL logs if SQL log is enabled + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`true` + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.jdbc-warnings]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.jdbc-warnings[quarkus.hibernate-orm.log.jdbc-warnings]` + + +[.description] +-- +Whether JDBC warnings should be collected and logged. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++` +endif::add-copy-button-to-env-var[] +--|boolean +|`depends on dialect` + + +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.queries-slower-than-ms[quarkus.hibernate-orm.log.queries-slower-than-ms]` + + +[.description] +-- +If set, Hibernate will log queries that took more than specified number of milliseconds to execute. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++` +endif::add-copy-button-to-env-var[] +--|long +| + + +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.persistence-units-additional-named-persistence-units[Additional named persistence units] + +h|Type +h|Default + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.datasource]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.datasource[quarkus.hibernate-orm."persistence-unit-name".datasource]` + + +[.description] +-- +The name of the datasource which this persistence unit uses. + +If undefined, it will use the default datasource. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATASOURCE+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.packages]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.packages[quarkus.hibernate-orm."persistence-unit-name".packages]` + + +[.description] +-- +The packages in which the entities affected to this persistence unit are located. + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PACKAGES+++` +endif::add-copy-button-to-env-var[] +--|list of string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.sql-load-script[quarkus.hibernate-orm."persistence-unit-name".sql-load-script]` + + +[.description] +-- +Path to a file containing the SQL statements to execute when Hibernate ORM starts. + +The file is retrieved from the classpath resources, +so it must be located in the resources directory (e.g. `src/main/resources`). + +The default value for this setting differs depending on the Quarkus launch mode: + +* In dev and test modes, it defaults to `import.sql`. + Simply add an `import.sql` file in the root of your resources directory + and it will be picked up without having to set this property. + Pass `no-file` to force Hibernate ORM to ignore the SQL import file. +* In production mode, it defaults to `no-file`. + It means Hibernate ORM won't try to execute any SQL import file by default. + Pass an explicit value to force Hibernate ORM to execute the SQL import file. + +If you need different SQL statements between dev mode, test (`@QuarkusTest`) and in production, use Quarkus +https://quarkus.io/guides/config#configuration-profiles[configuration profiles facility]. + +[source,property] +.application.properties +---- +%dev.quarkus.hibernate-orm.sql-load-script = import-dev.sql +%test.quarkus.hibernate-orm.sql-load-script = import-test.sql +%prod.quarkus.hibernate-orm.sql-load-script = no-file +---- + +[NOTE] +==== +Quarkus supports `.sql` file with SQL statements or comments spread over multiple lines. +Each SQL statement must be terminated by a semicolon. +==== + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SQL_LOAD_SCRIPT+++` +endif::add-copy-button-to-env-var[] +--|list of string +|`import.sql in DEV, TEST ; no-file otherwise` + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.physical-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".physical-naming-strategy]` + + +[.description] +-- +Pluggable strategy contract for applying physical naming rules for database object names. Class name of the Hibernate PhysicalNamingStrategy implementation + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__PHYSICAL_NAMING_STRATEGY+++` +endif::add-copy-button-to-env-var[] +--|string +| + + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.implicit-naming-strategy[quarkus.hibernate-orm."persistence-unit-name".implicit-naming-strategy]` + + +[.description] +-- +Pluggable strategy for applying implicit naming rules when an explicit name is not given. Class name of the Hibernate ImplicitNamingStrategy implementation + +ifdef::add-copy-button-to-env-var[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++[] +endif::add-copy-button-to-env-var[] +ifndef::add-copy-button-to-env-var[] +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__IMPLICIT_NAMING_STRATEGY+++` endif::add-copy-button-to-env-var[] --|string | @@ -1411,180 +1561,70 @@ ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__MAPPING_ID_OPTIMIZER_DEFAULT+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__MAPPING_ID_OPTIMIZER_DEFAULT+++` -endif::add-copy-button-to-env-var[] --- a| -`pooled-lo`, `pooled`, `none` -|`pooled-lo` - - -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration[Query related configuration] - -h|Type -h|Default - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size[quarkus.hibernate-orm."persistence-unit-name".query.query-plan-cache-max-size]` - - -[.description] --- -The maximum size of the query plan cache. see ++#++`org.hibernate.cfg.AvailableSettings++#++QUERY_PLAN_CACHE_MAX_SIZE` - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++` -endif::add-copy-button-to-env-var[] ---|int -|`2048` - - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering[quarkus.hibernate-orm."persistence-unit-name".query.default-null-ordering]` - - -[.description] --- -Default precedence of null values in `ORDER BY` clauses. - -Valid values are: `none`, `first`, `last`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++` -endif::add-copy-button-to-env-var[] --- a| -`none`, `first`, `last` -|`none` - - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding[quarkus.hibernate-orm."persistence-unit-name".query.in-clause-parameter-padding]` - - -[.description] --- -Enables IN clause parameter padding which improves statement caching. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration[Database related configuration] - -h|Type -h|Default - -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.charset]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.charset[quarkus.hibernate-orm."persistence-unit-name".database.charset]` - - -[.description] --- -The charset of the database. - -Used for DDL generation and also for the SQL import scripts. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] - -|`UTF-8` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation[quarkus.hibernate-orm."persistence-unit-name".database.generation]` - - -[.description] --- -Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas[quarkus.hibernate-orm."persistence-unit-name".database.generation.create-schemas]` - - -[.description] --- -If Hibernate ORM should create the schemas automatically (for databases supporting them). - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__MAPPING_ID_OPTIMIZER_DEFAULT+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +-- a| +`pooled-lo`, `pooled`, `none` +|`pooled-lo` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error[quarkus.hibernate-orm."persistence-unit-name".database.generation.halt-on-error]` +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query-query-related-configuration[Query related configuration] + +h|Type +h|Default + +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.query-plan-cache-max-size[quarkus.hibernate-orm."persistence-unit-name".query.query-plan-cache-max-size]` [.description] -- -Whether we should stop on the first error when applying the schema. +The maximum size of the query plan cache. see ++#++`org.hibernate.cfg.AvailableSettings++#++QUERY_PLAN_CACHE_MAX_SIZE` ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_QUERY_PLAN_CACHE_MAX_SIZE+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +--|int +|`2048` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog[quarkus.hibernate-orm."persistence-unit-name".database.default-catalog]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.default-null-ordering[quarkus.hibernate-orm."persistence-unit-name".query.default-null-ordering]` [.description] -- -The default catalog to use for the database objects. +Default precedence of null values in `ORDER BY` clauses. + +Valid values are: `none`, `first`, `last`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_DEFAULT_NULL_ORDERING+++` endif::add-copy-button-to-env-var[] ---|string -| +-- a| +`none`, `first`, `last` +|`none` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema[quarkus.hibernate-orm."persistence-unit-name".database.default-schema]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.query.in-clause-parameter-padding[quarkus.hibernate-orm."persistence-unit-name".query.in-clause-parameter-padding]` [.description] -- -The default schema to use for the database objects. +Enables IN clause parameter padding which improves statement caching. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__QUERY_IN_CLAUSE_PARAMETER_PADDING+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`true` h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.jdbc-jdbc-related-configuration[JDBC related configuration] @@ -1748,284 +1788,244 @@ endif::add-copy-button-to-env-var[] |`false` -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration[Database scripts related configuration] +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database-database-related-configuration[Database related configuration] h|Type h|Default -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation[quarkus.hibernate-orm."persistence-unit-name".scripts.generation]` +a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.charset]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.charset[quarkus.hibernate-orm."persistence-unit-name".database.charset]` [.description] -- -Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++` -endif::add-copy-button-to-env-var[] ---|string -|`none` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.create-target]` - +The charset of the database. -[.description] --- -Filename or URL where the database create DDL file should be generated. +Used for DDL generation and also for the SQL import scripts. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_CHARSET+++` endif::add-copy-button-to-env-var[] ---|string -| +--|link:https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html[Charset] + +|`UTF-8` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.drop-target]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation[quarkus.hibernate-orm."persistence-unit-name".database.generation]` [.description] -- -Filename or URL where the database drop DDL file should be generated. +Select whether the database schema is generated or not. `drop-and-create` is awesome in development mode. This defaults to 'none', however if Dev Services is in use and no other extensions that manage the schema are present this will default to 'drop-and-create'. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION+++` endif::add-copy-button-to-env-var[] --|string -| - - -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration[Logging configuration] +|`none` -h|Type -h|Default -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.sql[quarkus.hibernate-orm."persistence-unit-name".log.sql]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.create-schemas[quarkus.hibernate-orm."persistence-unit-name".database.generation.create-schemas]` [.description] -- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. +If Hibernate ORM should create the schemas automatically (for databases supporting them). ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_CREATE_SCHEMAS+++` endif::add-copy-button-to-env-var[] --|boolean |`false` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql[quarkus.hibernate-orm."persistence-unit-name".log.format-sql]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.generation.halt-on-error[quarkus.hibernate-orm."persistence-unit-name".database.generation.halt-on-error]` [.description] -- -Format the SQL logs if SQL log is enabled +Whether we should stop on the first error when applying the schema. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_GENERATION_HALT_ON_ERROR+++` endif::add-copy-button-to-env-var[] --|boolean -|`true` +|`false` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings[quarkus.hibernate-orm."persistence-unit-name".log.jdbc-warnings]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-catalog[quarkus.hibernate-orm."persistence-unit-name".database.default-catalog]` [.description] -- -Whether JDBC warnings should be collected and logged. +The default catalog to use for the database objects. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_CATALOG+++` endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` +--|string +| -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms[quarkus.hibernate-orm."persistence-unit-name".log.queries-slower-than-ms]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.database.default-schema[quarkus.hibernate-orm."persistence-unit-name".database.default-schema]` [.description] -- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. +The default schema to use for the database objects. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__DATABASE_DEFAULT_SCHEMA+++` endif::add-copy-button-to-env-var[] ---|long +--|string | -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.log-logging-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log-logging-configuration[Logging configuration] +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts-database-scripts-related-configuration[Database scripts related configuration] h|Type h|Default -a|icon:lock[title=Fixed at build time] [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.bind-parameters]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.bind-parameters[quarkus.hibernate-orm.log.bind-parameters]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation[quarkus.hibernate-orm."persistence-unit-name".scripts.generation]` [.description] -- -Logs SQL bind parameters. - -Setting it to true is obviously not recommended in production. +Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_BIND_PARAMETERS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +--|string +|`none` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.sql[quarkus.hibernate-orm.log.sql]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.create-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.create-target]` [.description] -- -Show SQL logs and format them nicely. - -Setting it to true is obviously not recommended in production. +Filename or URL where the database create DDL file should be generated. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_CREATE_TARGET+++` endif::add-copy-button-to-env-var[] ---|boolean -|`false` +--|string +| -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.format-sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.format-sql[quarkus.hibernate-orm.log.format-sql]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.scripts.generation.drop-target[quarkus.hibernate-orm."persistence-unit-name".scripts.generation.drop-target]` [.description] -- -Format the SQL logs if SQL log is enabled +Filename or URL where the database drop DDL file should be generated. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_FORMAT_SQL+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__SCRIPTS_GENERATION_DROP_TARGET+++` endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.jdbc-warnings]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.jdbc-warnings[quarkus.hibernate-orm.log.jdbc-warnings]` - +--|string +| -[.description] --- -Whether JDBC warnings should be collected and logged. -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_JDBC_WARNINGS+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`depends on dialect` +h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log-logging-configuration[Logging configuration] +h|Type +h|Default -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.log.queries-slower-than-ms[quarkus.hibernate-orm.log.queries-slower-than-ms]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.sql[quarkus.hibernate-orm."persistence-unit-name".log.sql]` [.description] -- -If set, Hibernate will log queries that took more than specified number of milliseconds to execute. +Show SQL logs and format them nicely. + +Setting it to true is obviously not recommended in production. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_LOG_QUERIES_SLOWER_THAN_MS+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_SQL+++` endif::add-copy-button-to-env-var[] ---|long -| - - -h|[[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts-database-scripts-related-configuration]]link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts-database-scripts-related-configuration[Database scripts related configuration] +--|boolean +|`false` -h|Type -h|Default -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation[quarkus.hibernate-orm.scripts.generation]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.format-sql[quarkus.hibernate-orm."persistence-unit-name".log.format-sql]` [.description] -- -Select whether the database schema DDL files are generated or not. Accepted values: `none`, `create`, `drop-and-create`, `drop`, `update`, `validate`. +Format the SQL logs if SQL log is enabled ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_FORMAT_SQL+++` endif::add-copy-button-to-env-var[] ---|string -|`none` +--|boolean +|`true` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.create-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.create-target[quarkus.hibernate-orm.scripts.generation.create-target]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.jdbc-warnings[quarkus.hibernate-orm."persistence-unit-name".log.jdbc-warnings]` [.description] -- -Filename or URL where the database create DDL file should be generated. +Whether JDBC warnings should be collected and logged. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_CREATE_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_JDBC_WARNINGS+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`depends on dialect` -a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.drop-target]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.scripts.generation.drop-target[quarkus.hibernate-orm.scripts.generation.drop-target]` +a| [[quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms]]`link:#quarkus-hibernate-orm_quarkus.hibernate-orm.-persistence-unit-name-.log.queries-slower-than-ms[quarkus.hibernate-orm."persistence-unit-name".log.queries-slower-than-ms]` [.description] -- -Filename or URL where the database drop DDL file should be generated. +If set, Hibernate will log queries that took more than specified number of milliseconds to execute. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_ORM_SCRIPTS_GENERATION_DROP_TARGET+++` +Environment variable: `+++QUARKUS_HIBERNATE_ORM__PERSISTENCE_UNIT_NAME__LOG_QUERIES_SLOWER_THAN_MS+++` endif::add-copy-button-to-env-var[] ---|string +--|long | |=== @@ -2034,11 +2034,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. + +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-agents-config.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-agents-config.adoc index 67d0495461..2a1b49f9cb 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-agents-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-agents-config.adoc @@ -399,11 +399,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-coordination-config.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-coordination-config.adoc index fd88d74397..6fc45dae20 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-coordination-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit-coordination-config.adoc @@ -788,11 +788,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit.adoc index eba406c2de..714bcc9c5f 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-config-group-hibernate-search-outbox-polling-runtime-config-persistence-unit.adoc @@ -788,11 +788,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-general-config-items.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-general-config-items.adoc index b89db5d19b..cce0bfbeb9 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling-general-config-items.adoc @@ -1018,11 +1018,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling.adoc index c8ec1edf89..4f38681bf1 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-coordination-outboxpolling.adoc @@ -1018,11 +1018,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-backend-runtime-config.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-backend-runtime-config.adoc index 0a7884da01..687012f6ff 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-backend-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-backend-runtime-config.adoc @@ -745,11 +745,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-index-runtime-config.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-index-runtime-config.adoc index 4e653a9865..378a10cb90 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-index-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit-elasticsearch-index-runtime-config.adoc @@ -155,11 +155,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit.adoc index d74851bb17..2c0df8ce71 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-config-group-hibernate-search-elasticsearch-runtime-config-persistence-unit.adoc @@ -1174,11 +1174,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-general-config-items.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-general-config-items.adoc index 2c709bc9bc..5765b377b2 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch-general-config-items.adoc @@ -1260,11 +1260,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch.adoc index 55c1458947..a6299f2419 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-elasticsearch.adoc @@ -1281,11 +1281,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-elasticsearch-runtime-config.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-elasticsearch-runtime-config.adoc index da816c87d7..b7bddfb5d9 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-elasticsearch-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-elasticsearch-runtime-config.adoc @@ -1174,11 +1174,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-outbox-polling-runtime-config.adoc b/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-outbox-polling-runtime-config.adoc index d0b5a54384..6e92c781b7 100644 --- a/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-outbox-polling-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-hibernate-search-orm-hibernate-search-outbox-polling-runtime-config.adoc @@ -788,11 +788,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-http-http-build-time-config.adoc b/_generated-doc/main/config/quarkus-http-http-build-time-config.adoc index 78c026bfb5..f861296595 100644 --- a/_generated-doc/main/config/quarkus-http-http-build-time-config.adoc +++ b/_generated-doc/main/config/quarkus-http-http-build-time-config.adoc @@ -610,11 +610,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-http-http-configuration.adoc b/_generated-doc/main/config/quarkus-http-http-configuration.adoc index 1446bc93a1..64267055aa 100644 --- a/_generated-doc/main/config/quarkus-http-http-configuration.adoc +++ b/_generated-doc/main/config/quarkus-http-http-configuration.adoc @@ -1872,12 +1872,18 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-jaeger-jaeger-config.adoc b/_generated-doc/main/config/quarkus-jaeger-jaeger-config.adoc index 191a1710f0..0358a7f3aa 100644 --- a/_generated-doc/main/config/quarkus-jaeger-jaeger-config.adoc +++ b/_generated-doc/main/config/quarkus-jaeger-jaeger-config.adoc @@ -307,11 +307,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-jaeger.adoc b/_generated-doc/main/config/quarkus-jaeger.adoc index df34a0b912..974b8ae386 100644 --- a/_generated-doc/main/config/quarkus-jaeger.adoc +++ b/_generated-doc/main/config/quarkus-jaeger.adoc @@ -358,11 +358,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-client-config-group-kafka-dev-services-build-time-config.adoc b/_generated-doc/main/config/quarkus-kafka-client-config-group-kafka-dev-services-build-time-config.adoc index 20b9c3a351..d3c0674365 100644 --- a/_generated-doc/main/config/quarkus-kafka-client-config-group-kafka-dev-services-build-time-config.adoc +++ b/_generated-doc/main/config/quarkus-kafka-client-config-group-kafka-dev-services-build-time-config.adoc @@ -211,11 +211,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-client-general-config-items.adoc b/_generated-doc/main/config/quarkus-kafka-client-general-config-items.adoc index f3e476652d..5e26ab758a 100644 --- a/_generated-doc/main/config/quarkus-kafka-client-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-kafka-client-general-config-items.adoc @@ -211,11 +211,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-client.adoc b/_generated-doc/main/config/quarkus-kafka-client.adoc index 2be77a35a7..c1fc742a14 100644 --- a/_generated-doc/main/config/quarkus-kafka-client.adoc +++ b/_generated-doc/main/config/quarkus-kafka-client.adoc @@ -249,11 +249,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-kafka-build-time-config.adoc b/_generated-doc/main/config/quarkus-kafka-kafka-build-time-config.adoc index 67fbbc806f..71d4cda439 100644 --- a/_generated-doc/main/config/quarkus-kafka-kafka-build-time-config.adoc +++ b/_generated-doc/main/config/quarkus-kafka-kafka-build-time-config.adoc @@ -249,11 +249,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-streams-config-group-sasl-config.adoc b/_generated-doc/main/config/quarkus-kafka-streams-config-group-sasl-config.adoc index 844b6001cb..7eafa0cd6e 100644 --- a/_generated-doc/main/config/quarkus-kafka-streams-config-group-sasl-config.adoc +++ b/_generated-doc/main/config/quarkus-kafka-streams-config-group-sasl-config.adoc @@ -255,11 +255,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-streams-general-config-items.adoc b/_generated-doc/main/config/quarkus-kafka-streams-general-config-items.adoc index 5e553265da..1a61d663f5 100644 --- a/_generated-doc/main/config/quarkus-kafka-streams-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-kafka-streams-general-config-items.adoc @@ -561,11 +561,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-streams-kafka-streams-runtime-config.adoc b/_generated-doc/main/config/quarkus-kafka-streams-kafka-streams-runtime-config.adoc index a408ee9ab1..70eff55015 100644 --- a/_generated-doc/main/config/quarkus-kafka-streams-kafka-streams-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-kafka-streams-kafka-streams-runtime-config.adoc @@ -698,11 +698,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kafka-streams.adoc b/_generated-doc/main/config/quarkus-kafka-streams.adoc index aa8f784936..b99ec1538a 100644 --- a/_generated-doc/main/config/quarkus-kafka-streams.adoc +++ b/_generated-doc/main/config/quarkus-kafka-streams.adoc @@ -715,11 +715,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-knative-knative-config.adoc b/_generated-doc/main/config/quarkus-knative-knative-config.adoc index eb8803f737..ee2b05aa6c 100644 --- a/_generated-doc/main/config/quarkus-knative-knative-config.adoc +++ b/_generated-doc/main/config/quarkus-knative-knative-config.adoc @@ -5110,11 +5110,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes-client-kubernetes-client-build-config.adoc b/_generated-doc/main/config/quarkus-kubernetes-client-kubernetes-client-build-config.adoc index f39ecacf3f..a2335f6a59 100644 --- a/_generated-doc/main/config/quarkus-kubernetes-client-kubernetes-client-build-config.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes-client-kubernetes-client-build-config.adoc @@ -592,11 +592,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes-client.adoc b/_generated-doc/main/config/quarkus-kubernetes-client.adoc index fc598e6f9e..0057ab2ab9 100644 --- a/_generated-doc/main/config/quarkus-kubernetes-client.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes-client.adoc @@ -592,11 +592,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes-config-group-container-config.adoc b/_generated-doc/main/config/quarkus-kubernetes-config-group-container-config.adoc index 5b9eecd376..1db58e095b 100644 --- a/_generated-doc/main/config/quarkus-kubernetes-config-group-container-config.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes-config-group-container-config.adoc @@ -5661,11 +5661,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes-config-group-probe-config.adoc b/_generated-doc/main/config/quarkus-kubernetes-config-group-probe-config.adoc index a0e055fe43..ed292162f7 100644 --- a/_generated-doc/main/config/quarkus-kubernetes-config-group-probe-config.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes-config-group-probe-config.adoc @@ -4719,11 +4719,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes-general-config-items.adoc b/_generated-doc/main/config/quarkus-kubernetes-general-config-items.adoc index 0ca2973a17..cf8d85ae7c 100644 --- a/_generated-doc/main/config/quarkus-kubernetes-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes-general-config-items.adoc @@ -14709,11 +14709,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes-kubernetes-config.adoc b/_generated-doc/main/config/quarkus-kubernetes-kubernetes-config.adoc index 73e8822698..3cb0651222 100644 --- a/_generated-doc/main/config/quarkus-kubernetes-kubernetes-config.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes-kubernetes-config.adoc @@ -5620,11 +5620,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-kubernetes.adoc b/_generated-doc/main/config/quarkus-kubernetes.adoc index 1720cb26ec..a131788be6 100644 --- a/_generated-doc/main/config/quarkus-kubernetes.adoc +++ b/_generated-doc/main/config/quarkus-kubernetes.adoc @@ -16201,11 +16201,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-live-reload-live-reload-config.adoc b/_generated-doc/main/config/quarkus-live-reload-live-reload-config.adoc index cd68226eff..5de873b605 100644 --- a/_generated-doc/main/config/quarkus-live-reload-live-reload-config.adoc +++ b/_generated-doc/main/config/quarkus-live-reload-live-reload-config.adoc @@ -136,11 +136,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mailer-config-group-mailer-runtime-config.adoc b/_generated-doc/main/config/quarkus-mailer-config-group-mailer-runtime-config.adoc index 1804c15e81..c4d20b6b7c 100644 --- a/_generated-doc/main/config/quarkus-mailer-config-group-mailer-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-mailer-config-group-mailer-runtime-config.adoc @@ -1416,11 +1416,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mailer-general-config-items.adoc b/_generated-doc/main/config/quarkus-mailer-general-config-items.adoc index b97346031a..c73b925b80 100644 --- a/_generated-doc/main/config/quarkus-mailer-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-mailer-general-config-items.adoc @@ -1416,11 +1416,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mailer-mailers-runtime-config.adoc b/_generated-doc/main/config/quarkus-mailer-mailers-runtime-config.adoc index d8d1d8d671..7ff2542c8f 100644 --- a/_generated-doc/main/config/quarkus-mailer-mailers-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-mailer-mailers-runtime-config.adoc @@ -1416,11 +1416,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mailer.adoc b/_generated-doc/main/config/quarkus-mailer.adoc index 1cea277b10..84a5200678 100644 --- a/_generated-doc/main/config/quarkus-mailer.adoc +++ b/_generated-doc/main/config/quarkus-mailer.adoc @@ -1433,11 +1433,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-management-management-management-interface-configuration.adoc b/_generated-doc/main/config/quarkus-management-management-management-interface-configuration.adoc index 8813638c05..80fbb15c10 100644 --- a/_generated-doc/main/config/quarkus-management-management-management-interface-configuration.adoc +++ b/_generated-doc/main/config/quarkus-management-management-management-interface-configuration.adoc @@ -1105,12 +1105,18 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-micrometer-config-group-config-json-config-group.adoc b/_generated-doc/main/config/quarkus-micrometer-config-group-config-json-config-group.adoc index 936a33cc73..f120fee662 100644 --- a/_generated-doc/main/config/quarkus-micrometer-config-group-config-json-config-group.adoc +++ b/_generated-doc/main/config/quarkus-micrometer-config-group-config-json-config-group.adoc @@ -84,11 +84,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-micrometer-config-group-config-micrometer-config-export-config.adoc b/_generated-doc/main/config/quarkus-micrometer-config-group-config-micrometer-config-export-config.adoc index 4d223d9100..9c38dc1dd2 100644 --- a/_generated-doc/main/config/quarkus-micrometer-config-group-config-micrometer-config-export-config.adoc +++ b/_generated-doc/main/config/quarkus-micrometer-config-group-config-micrometer-config-export-config.adoc @@ -149,11 +149,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-micrometer-config-micrometer-config.adoc b/_generated-doc/main/config/quarkus-micrometer-config-micrometer-config.adoc index 4d53b626da..87ae6e9e74 100644 --- a/_generated-doc/main/config/quarkus-micrometer-config-micrometer-config.adoc +++ b/_generated-doc/main/config/quarkus-micrometer-config-micrometer-config.adoc @@ -428,11 +428,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-micrometer-general-config-items.adoc b/_generated-doc/main/config/quarkus-micrometer-general-config-items.adoc index e804d41fed..82da40f911 100644 --- a/_generated-doc/main/config/quarkus-micrometer-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-micrometer-general-config-items.adoc @@ -371,11 +371,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-micrometer.adoc b/_generated-doc/main/config/quarkus-micrometer.adoc index d1907ff167..83eafc66d0 100644 --- a/_generated-doc/main/config/quarkus-micrometer.adoc +++ b/_generated-doc/main/config/quarkus-micrometer.adoc @@ -599,11 +599,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mongodb-config-group-mongo-client-config.adoc b/_generated-doc/main/config/quarkus-mongodb-config-group-mongo-client-config.adoc index f3f4410272..b27be7b52c 100644 --- a/_generated-doc/main/config/quarkus-mongodb-config-group-mongo-client-config.adoc +++ b/_generated-doc/main/config/quarkus-mongodb-config-group-mongo-client-config.adoc @@ -1449,11 +1449,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mongodb-config-group-write-concern-config.adoc b/_generated-doc/main/config/quarkus-mongodb-config-group-write-concern-config.adoc index ce4df857ac..ad61f06955 100644 --- a/_generated-doc/main/config/quarkus-mongodb-config-group-write-concern-config.adoc +++ b/_generated-doc/main/config/quarkus-mongodb-config-group-write-concern-config.adoc @@ -189,11 +189,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mongodb-general-config-items.adoc b/_generated-doc/main/config/quarkus-mongodb-general-config-items.adoc index 7e58de8389..d6ddb84b12 100644 --- a/_generated-doc/main/config/quarkus-mongodb-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-mongodb-general-config-items.adoc @@ -1316,11 +1316,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mongodb-mongodb-config.adoc b/_generated-doc/main/config/quarkus-mongodb-mongodb-config.adoc index bb7cb20d45..d9a4d63c78 100644 --- a/_generated-doc/main/config/quarkus-mongodb-mongodb-config.adoc +++ b/_generated-doc/main/config/quarkus-mongodb-mongodb-config.adoc @@ -1298,11 +1298,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-mongodb.adoc b/_generated-doc/main/config/quarkus-mongodb.adoc index 8da91e0dd0..da5ceea2b7 100644 --- a/_generated-doc/main/config/quarkus-mongodb.adoc +++ b/_generated-doc/main/config/quarkus-mongodb.adoc @@ -1453,11 +1453,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-narayana-jta.adoc b/_generated-doc/main/config/quarkus-narayana-jta.adoc index afa1ad0542..c5a68451ab 100644 --- a/_generated-doc/main/config/quarkus-narayana-jta.adoc +++ b/_generated-doc/main/config/quarkus-narayana-jta.adoc @@ -223,11 +223,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-client-general-config-items.adoc b/_generated-doc/main/config/quarkus-oidc-client-general-config-items.adoc index 69fd6d32e1..67ad74a1cc 100644 --- a/_generated-doc/main/config/quarkus-oidc-client-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-oidc-client-general-config-items.adoc @@ -2006,11 +2006,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-client-oidc-client-config.adoc b/_generated-doc/main/config/quarkus-oidc-client-oidc-client-config.adoc index 05284cddd0..16f3e22649 100644 --- a/_generated-doc/main/config/quarkus-oidc-client-oidc-client-config.adoc +++ b/_generated-doc/main/config/quarkus-oidc-client-oidc-client-config.adoc @@ -2006,11 +2006,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-client-oidc-clients-config.adoc b/_generated-doc/main/config/quarkus-oidc-client-oidc-clients-config.adoc index 0891f18ed8..bb6ddc9c8e 100644 --- a/_generated-doc/main/config/quarkus-oidc-client-oidc-clients-config.adoc +++ b/_generated-doc/main/config/quarkus-oidc-client-oidc-clients-config.adoc @@ -2006,11 +2006,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-client.adoc b/_generated-doc/main/config/quarkus-oidc-client.adoc index 92de6ca195..ebd4ea682d 100644 --- a/_generated-doc/main/config/quarkus-oidc-client.adoc +++ b/_generated-doc/main/config/quarkus-oidc-client.adoc @@ -2023,11 +2023,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-config-group-dev-ui-config.adoc b/_generated-doc/main/config/quarkus-oidc-config-group-dev-ui-config.adoc index 94ad14fd73..f1949eda21 100644 --- a/_generated-doc/main/config/quarkus-oidc-config-group-dev-ui-config.adoc +++ b/_generated-doc/main/config/quarkus-oidc-config-group-dev-ui-config.adoc @@ -68,11 +68,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-config-group-oidc-config-token-cache.adoc b/_generated-doc/main/config/quarkus-oidc-config-group-oidc-config-token-cache.adoc index f2bda47f11..97c6fb200c 100644 --- a/_generated-doc/main/config/quarkus-oidc-config-group-oidc-config-token-cache.adoc +++ b/_generated-doc/main/config/quarkus-oidc-config-group-oidc-config-token-cache.adoc @@ -68,11 +68,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-general-config-items.adoc b/_generated-doc/main/config/quarkus-oidc-general-config-items.adoc index 0e0087a83a..161622f3cd 100644 --- a/_generated-doc/main/config/quarkus-oidc-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-oidc-general-config-items.adoc @@ -4751,11 +4751,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-oidc-build-time-config.adoc b/_generated-doc/main/config/quarkus-oidc-oidc-build-time-config.adoc index 57434f4b4c..46a1daf4f7 100644 --- a/_generated-doc/main/config/quarkus-oidc-oidc-build-time-config.adoc +++ b/_generated-doc/main/config/quarkus-oidc-oidc-build-time-config.adoc @@ -102,11 +102,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-oidc-config.adoc b/_generated-doc/main/config/quarkus-oidc-oidc-config.adoc index 94d9f8b8cb..f4e0abd233 100644 --- a/_generated-doc/main/config/quarkus-oidc-oidc-config.adoc +++ b/_generated-doc/main/config/quarkus-oidc-oidc-config.adoc @@ -4431,11 +4431,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-authentication.adoc b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-authentication.adoc index 5a96296fc9..0b91145917 100644 --- a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-authentication.adoc +++ b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-authentication.adoc @@ -969,11 +969,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-logout.adoc b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-logout.adoc index 15fb04f561..35ad7dcfc4 100644 --- a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-logout.adoc +++ b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-logout.adoc @@ -359,11 +359,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-token.adoc b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-token.adoc index 13cd4d39df..e5fd4c8660 100644 --- a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-token.adoc +++ b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config-token.adoc @@ -669,11 +669,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config.adoc b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config.adoc index d04d282e3e..35c1b58112 100644 --- a/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config.adoc +++ b/_generated-doc/main/config/quarkus-oidc-oidc-tenant-config.adoc @@ -4378,11 +4378,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-oidc.adoc b/_generated-doc/main/config/quarkus-oidc.adoc index e735dab52c..b616f0e951 100644 --- a/_generated-doc/main/config/quarkus-oidc.adoc +++ b/_generated-doc/main/config/quarkus-oidc.adoc @@ -4785,11 +4785,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-openshift-container-image-openshift-config.adoc b/_generated-doc/main/config/quarkus-openshift-container-image-openshift-config.adoc index 5ec974ed9e..45e3c1bd5f 100644 --- a/_generated-doc/main/config/quarkus-openshift-container-image-openshift-config.adoc +++ b/_generated-doc/main/config/quarkus-openshift-container-image-openshift-config.adoc @@ -256,11 +256,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-openshift-openshift-config.adoc b/_generated-doc/main/config/quarkus-openshift-openshift-config.adoc index 57581b3a20..2757fe68d7 100644 --- a/_generated-doc/main/config/quarkus-openshift-openshift-config.adoc +++ b/_generated-doc/main/config/quarkus-openshift-openshift-config.adoc @@ -5501,11 +5501,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-batch-span-processor-config.adoc b/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-batch-span-processor-config.adoc index 0d30e5e3f8..fb4c0dfeac 100644 --- a/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-batch-span-processor-config.adoc +++ b/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-batch-span-processor-config.adoc @@ -93,11 +93,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-exporter-otlp-exporter-traces-config.adoc b/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-exporter-otlp-exporter-traces-config.adoc index 5aa0cd7252..6d8894c3f1 100644 --- a/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-exporter-otlp-exporter-traces-config.adoc +++ b/_generated-doc/main/config/quarkus-opentelemetry-config-group-config-runtime-exporter-otlp-exporter-traces-config.adoc @@ -157,11 +157,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-opentelemetry-general-config-items.adoc b/_generated-doc/main/config/quarkus-opentelemetry-general-config-items.adoc index e8a89c4001..61858b5a48 100644 --- a/_generated-doc/main/config/quarkus-opentelemetry-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-opentelemetry-general-config-items.adoc @@ -473,11 +473,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-opentelemetry.adoc b/_generated-doc/main/config/quarkus-opentelemetry.adoc index e2fef7739c..2f3f6943aa 100644 --- a/_generated-doc/main/config/quarkus-opentelemetry.adoc +++ b/_generated-doc/main/config/quarkus-opentelemetry.adoc @@ -617,11 +617,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-otel-config-runtime-o-tel-runtime-config.adoc b/_generated-doc/main/config/quarkus-otel-config-runtime-o-tel-runtime-config.adoc index 609db00410..0a631808e6 100644 --- a/_generated-doc/main/config/quarkus-otel-config-runtime-o-tel-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-otel-config-runtime-o-tel-runtime-config.adoc @@ -342,11 +342,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-otel-exporter-otlp-config-runtime-exporter-otlp-exporter-runtime-config.adoc b/_generated-doc/main/config/quarkus-otel-exporter-otlp-config-runtime-exporter-otlp-exporter-runtime-config.adoc index d1c515646b..2f26bcf824 100644 --- a/_generated-doc/main/config/quarkus-otel-exporter-otlp-config-runtime-exporter-otlp-exporter-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-otel-exporter-otlp-config-runtime-exporter-otlp-exporter-runtime-config.adoc @@ -174,11 +174,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-quartz-quartz-runtime-config.adoc b/_generated-doc/main/config/quarkus-quartz-quartz-runtime-config.adoc index 37bae31df8..d3c747a349 100644 --- a/_generated-doc/main/config/quarkus-quartz-quartz-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-quartz-quartz-runtime-config.adoc @@ -231,11 +231,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-quartz.adoc b/_generated-doc/main/config/quarkus-quartz.adoc index 7654b004a0..11d6870717 100644 --- a/_generated-doc/main/config/quarkus-quartz.adoc +++ b/_generated-doc/main/config/quarkus-quartz.adoc @@ -533,11 +533,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-source-reactive-runtime-config.adoc b/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-source-reactive-runtime-config.adoc index de63775649..1236ae7076 100644 --- a/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-source-reactive-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-source-reactive-runtime-config.adoc @@ -1049,11 +1049,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-sources-reactive-runtime-config-data-source-reactive-outer-named-runtime-config.adoc b/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-sources-reactive-runtime-config-data-source-reactive-outer-named-runtime-config.adoc index f12c198abf..ac67fd8f6a 100644 --- a/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-sources-reactive-runtime-config-data-source-reactive-outer-named-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-reactive-datasource-config-group-data-sources-reactive-runtime-config-data-source-reactive-outer-named-runtime-config.adoc @@ -549,11 +549,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-reactive-datasource-general-config-items.adoc b/_generated-doc/main/config/quarkus-reactive-datasource-general-config-items.adoc index 98cfc6d7f8..06e71820b5 100644 --- a/_generated-doc/main/config/quarkus-reactive-datasource-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-reactive-datasource-general-config-items.adoc @@ -1088,11 +1088,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-reactive-datasource.adoc b/_generated-doc/main/config/quarkus-reactive-datasource.adoc index d25e66bc22..5a07428891 100644 --- a/_generated-doc/main/config/quarkus-reactive-datasource.adoc +++ b/_generated-doc/main/config/quarkus-reactive-datasource.adoc @@ -1088,11 +1088,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-redis-client-config-redis-config.adoc b/_generated-doc/main/config/quarkus-redis-client-config-redis-config.adoc index 45626dfa70..6d91fc2701 100644 --- a/_generated-doc/main/config/quarkus-redis-client-config-redis-config.adoc +++ b/_generated-doc/main/config/quarkus-redis-client-config-redis-config.adoc @@ -2255,11 +2255,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-redis-config-group-client-config-net-config.adoc b/_generated-doc/main/config/quarkus-redis-config-group-client-config-net-config.adoc index daf92a822b..fb612093c2 100644 --- a/_generated-doc/main/config/quarkus-redis-config-group-client-config-net-config.adoc +++ b/_generated-doc/main/config/quarkus-redis-config-group-client-config-net-config.adoc @@ -947,11 +947,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-redis-config-group-client-config-redis-client-config.adoc b/_generated-doc/main/config/quarkus-redis-config-group-client-config-redis-client-config.adoc index 09223cce78..1fc4a5d6cf 100644 --- a/_generated-doc/main/config/quarkus-redis-config-group-client-config-redis-client-config.adoc +++ b/_generated-doc/main/config/quarkus-redis-config-group-client-config-redis-client-config.adoc @@ -3071,11 +3071,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-redis-general-config-items.adoc b/_generated-doc/main/config/quarkus-redis-general-config-items.adoc index 1ba4a94ee9..f8fbbe7a66 100644 --- a/_generated-doc/main/config/quarkus-redis-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-redis-general-config-items.adoc @@ -2593,11 +2593,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-redis.adoc b/_generated-doc/main/config/quarkus-redis.adoc index 97d7ab46dc..964f025847 100644 --- a/_generated-doc/main/config/quarkus-redis.adoc +++ b/_generated-doc/main/config/quarkus-redis.adoc @@ -2610,11 +2610,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-s2i-container-image-s2i-config.adoc b/_generated-doc/main/config/quarkus-s2i-container-image-s2i-config.adoc index ed510d8986..3c90f2d9fe 100644 --- a/_generated-doc/main/config/quarkus-s2i-container-image-s2i-config.adoc +++ b/_generated-doc/main/config/quarkus-s2i-container-image-s2i-config.adoc @@ -186,11 +186,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-s2i-s2i-config.adoc b/_generated-doc/main/config/quarkus-s2i-s2i-config.adoc index 21a788b5cf..c802593e0b 100644 --- a/_generated-doc/main/config/quarkus-s2i-s2i-config.adoc +++ b/_generated-doc/main/config/quarkus-s2i-s2i-config.adoc @@ -187,11 +187,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-scheduler-scheduler-runtime-config.adoc b/_generated-doc/main/config/quarkus-scheduler-scheduler-runtime-config.adoc index 3cbd8fff74..e620f8e525 100644 --- a/_generated-doc/main/config/quarkus-scheduler-scheduler-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-scheduler-scheduler-runtime-config.adoc @@ -72,11 +72,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-scheduler.adoc b/_generated-doc/main/config/quarkus-scheduler.adoc index f94d5bd1bb..feb4155a49 100644 --- a/_generated-doc/main/config/quarkus-scheduler.adoc +++ b/_generated-doc/main/config/quarkus-scheduler.adoc @@ -124,11 +124,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-security-ldap-elytron-security-ldap-config-ldap-security-realm-runtime-config.adoc b/_generated-doc/main/config/quarkus-security-ldap-elytron-security-ldap-config-ldap-security-realm-runtime-config.adoc index 3b01b8fcb0..8fc2799567 100644 --- a/_generated-doc/main/config/quarkus-security-ldap-elytron-security-ldap-config-ldap-security-realm-runtime-config.adoc +++ b/_generated-doc/main/config/quarkus-security-ldap-elytron-security-ldap-config-ldap-security-realm-runtime-config.adoc @@ -256,11 +256,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-security-webauthn.adoc b/_generated-doc/main/config/quarkus-security-webauthn.adoc index 8703d8ecd5..3baef5b9df 100644 --- a/_generated-doc/main/config/quarkus-security-webauthn.adoc +++ b/_generated-doc/main/config/quarkus-security-webauthn.adoc @@ -347,11 +347,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-shutdown-shutdown-shutdown-config.adoc b/_generated-doc/main/config/quarkus-shutdown-shutdown-shutdown-config.adoc index 11421227eb..177e54ead8 100644 --- a/_generated-doc/main/config/quarkus-shutdown-shutdown-shutdown-config.adoc +++ b/_generated-doc/main/config/quarkus-shutdown-shutdown-shutdown-config.adoc @@ -33,11 +33,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-smallrye-reactivemessaging-kafka.adoc b/_generated-doc/main/config/quarkus-smallrye-reactivemessaging-kafka.adoc index d39acd86e0..c466fc9cee 100644 --- a/_generated-doc/main/config/quarkus-smallrye-reactivemessaging-kafka.adoc +++ b/_generated-doc/main/config/quarkus-smallrye-reactivemessaging-kafka.adoc @@ -10,54 +10,54 @@ h|[[quarkus-smallrye-reactivemessaging-kafka_configuration]]link:#quarkus-smallr h|Type h|Default -a|icon:lock[title=Fixed at build time] [[quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.enable-graceful-shutdown-in-dev-and-test-mode]]`link:#quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.enable-graceful-shutdown-in-dev-and-test-mode[quarkus.reactive-messaging.kafka.enable-graceful-shutdown-in-dev-and-test-mode]` +a|icon:lock[title=Fixed at build time] [[quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-autodetection.enabled]]`link:#quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-autodetection.enabled[quarkus.reactive-messaging.kafka.serializer-autodetection.enabled]` [.description] -- -Enables the graceful shutdown in dev and test modes. The graceful shutdown waits until the inflight records have been processed and the offset committed to Kafka. While this setting is highly recommended in production, in dev and test modes, it's disabled by default. This setting allows to re-enable it. +Whether or not Kafka serializer/deserializer auto-detection is enabled. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_REACTIVE_MESSAGING_KAFKA_ENABLE_GRACEFUL_SHUTDOWN_IN_DEV_AND_TEST_MODE+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_AUTODETECTION_ENABLED+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_REACTIVE_MESSAGING_KAFKA_ENABLE_GRACEFUL_SHUTDOWN_IN_DEV_AND_TEST_MODE+++` +Environment variable: `+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_AUTODETECTION_ENABLED+++` endif::add-copy-button-to-env-var[] --|boolean -|`false` +|`true` -a|icon:lock[title=Fixed at build time] [[quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-autodetection.enabled]]`link:#quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-autodetection.enabled[quarkus.reactive-messaging.kafka.serializer-autodetection.enabled]` +a|icon:lock[title=Fixed at build time] [[quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-generation.enabled]]`link:#quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-generation.enabled[quarkus.reactive-messaging.kafka.serializer-generation.enabled]` [.description] -- -Whether or not Kafka serializer/deserializer auto-detection is enabled. +Whether Kafka serializer/deserializer generation is enabled. When no serializer/deserializer are found and not set, Quarkus generates a Jackson-based serde. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_AUTODETECTION_ENABLED+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_GENERATION_ENABLED+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_AUTODETECTION_ENABLED+++` +Environment variable: `+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_GENERATION_ENABLED+++` endif::add-copy-button-to-env-var[] --|boolean |`true` -a|icon:lock[title=Fixed at build time] [[quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-generation.enabled]]`link:#quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.serializer-generation.enabled[quarkus.reactive-messaging.kafka.serializer-generation.enabled]` +a|icon:lock[title=Fixed at build time] [[quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.enable-graceful-shutdown-in-dev-and-test-mode]]`link:#quarkus-smallrye-reactivemessaging-kafka_quarkus.reactive-messaging.kafka.enable-graceful-shutdown-in-dev-and-test-mode[quarkus.reactive-messaging.kafka.enable-graceful-shutdown-in-dev-and-test-mode]` [.description] -- -Whether Kafka serializer/deserializer generation is enabled. When no serializer/deserializer are found and not set, Quarkus generates a Jackson-based serde. +Enables the graceful shutdown in dev and test modes. The graceful shutdown waits until the inflight records have been processed and the offset committed to Kafka. While this setting is highly recommended in production, in dev and test modes, it's disabled by default. This setting allows to re-enable it. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_GENERATION_ENABLED+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_REACTIVE_MESSAGING_KAFKA_ENABLE_GRACEFUL_SHUTDOWN_IN_DEV_AND_TEST_MODE+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_REACTIVE_MESSAGING_KAFKA_SERIALIZER_GENERATION_ENABLED+++` +Environment variable: `+++QUARKUS_REACTIVE_MESSAGING_KAFKA_ENABLE_GRACEFUL_SHUTDOWN_IN_DEV_AND_TEST_MODE+++` endif::add-copy-button-to-env-var[] --|boolean -|`true` +|`false` |=== \ No newline at end of file diff --git a/_generated-doc/main/config/quarkus-spring-cloud-config-client.adoc b/_generated-doc/main/config/quarkus-spring-cloud-config-client.adoc index 2043726f58..8389fa2079 100644 --- a/_generated-doc/main/config/quarkus-spring-cloud-config-client.adoc +++ b/_generated-doc/main/config/quarkus-spring-cloud-config-client.adoc @@ -293,11 +293,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-spring-cloud-config-spring-cloud-config-client-config.adoc b/_generated-doc/main/config/quarkus-spring-cloud-config-spring-cloud-config-client-config.adoc index 17c5daab29..bd2e310ac2 100644 --- a/_generated-doc/main/config/quarkus-spring-cloud-config-spring-cloud-config-client-config.adoc +++ b/_generated-doc/main/config/quarkus-spring-cloud-config-spring-cloud-config-client-config.adoc @@ -293,11 +293,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-thread-pool-thread-pool-config.adoc b/_generated-doc/main/config/quarkus-thread-pool-thread-pool-config.adoc index ad1e74b988..f6bb02e560 100644 --- a/_generated-doc/main/config/quarkus-thread-pool-thread-pool-config.adoc +++ b/_generated-doc/main/config/quarkus-thread-pool-thread-pool-config.adoc @@ -172,11 +172,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-transaction-manager-transaction-manager-configuration.adoc b/_generated-doc/main/config/quarkus-transaction-manager-transaction-manager-configuration.adoc index 5b7aefa945..ef386f83c8 100644 --- a/_generated-doc/main/config/quarkus-transaction-manager-transaction-manager-configuration.adoc +++ b/_generated-doc/main/config/quarkus-transaction-manager-transaction-manager-configuration.adoc @@ -223,11 +223,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-config-vertx-configuration.adoc b/_generated-doc/main/config/quarkus-vertx-config-vertx-configuration.adoc index f6768064e4..17a86c7f8b 100644 --- a/_generated-doc/main/config/quarkus-vertx-config-vertx-configuration.adoc +++ b/_generated-doc/main/config/quarkus-vertx-config-vertx-configuration.adoc @@ -1013,11 +1013,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-core-config-group-config-address-resolver-configuration.adoc b/_generated-doc/main/config/quarkus-vertx-core-config-group-config-address-resolver-configuration.adoc index 98bb5d22c8..4204680177 100644 --- a/_generated-doc/main/config/quarkus-vertx-core-config-group-config-address-resolver-configuration.adoc +++ b/_generated-doc/main/config/quarkus-vertx-core-config-group-config-address-resolver-configuration.adoc @@ -103,11 +103,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-core-config-group-config-cluster-configuration.adoc b/_generated-doc/main/config/quarkus-vertx-core-config-group-config-cluster-configuration.adoc index efbb702686..b558bb8465 100644 --- a/_generated-doc/main/config/quarkus-vertx-core-config-group-config-cluster-configuration.adoc +++ b/_generated-doc/main/config/quarkus-vertx-core-config-group-config-cluster-configuration.adoc @@ -136,11 +136,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-core-config-group-config-event-bus-configuration.adoc b/_generated-doc/main/config/quarkus-vertx-core-config-group-config-event-bus-configuration.adoc index a36cb4424a..9567c8967f 100644 --- a/_generated-doc/main/config/quarkus-vertx-core-config-group-config-event-bus-configuration.adoc +++ b/_generated-doc/main/config/quarkus-vertx-core-config-group-config-event-bus-configuration.adoc @@ -579,11 +579,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-core-general-config-items.adoc b/_generated-doc/main/config/quarkus-vertx-core-general-config-items.adoc index 324a29a851..585607ddb1 100644 --- a/_generated-doc/main/config/quarkus-vertx-core-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-vertx-core-general-config-items.adoc @@ -788,11 +788,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-core.adoc b/_generated-doc/main/config/quarkus-vertx-core.adoc index 456930e31c..27923534fd 100644 --- a/_generated-doc/main/config/quarkus-vertx-core.adoc +++ b/_generated-doc/main/config/quarkus-vertx-core.adoc @@ -1013,11 +1013,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-http-config-group-auth-config.adoc b/_generated-doc/main/config/quarkus-vertx-http-config-group-auth-config.adoc index 81c55dd6d7..bdbc9f7931 100644 --- a/_generated-doc/main/config/quarkus-vertx-http-config-group-auth-config.adoc +++ b/_generated-doc/main/config/quarkus-vertx-http-config-group-auth-config.adoc @@ -443,11 +443,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-http-config-group-cors-cors-config.adoc b/_generated-doc/main/config/quarkus-vertx-http-config-group-cors-cors-config.adoc index 3f1d561a3e..1f10103807 100644 --- a/_generated-doc/main/config/quarkus-vertx-http-config-group-cors-cors-config.adoc +++ b/_generated-doc/main/config/quarkus-vertx-http-config-group-cors-cors-config.adoc @@ -118,11 +118,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-http-config-group-form-auth-config.adoc b/_generated-doc/main/config/quarkus-vertx-http-config-group-form-auth-config.adoc index b7ee894cc8..3037913e62 100644 --- a/_generated-doc/main/config/quarkus-vertx-http-config-group-form-auth-config.adoc +++ b/_generated-doc/main/config/quarkus-vertx-http-config-group-form-auth-config.adoc @@ -256,11 +256,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-http-config-group-static-resources-config.adoc b/_generated-doc/main/config/quarkus-vertx-http-config-group-static-resources-config.adoc index f1edb45507..21e6a5a54c 100644 --- a/_generated-doc/main/config/quarkus-vertx-http-config-group-static-resources-config.adoc +++ b/_generated-doc/main/config/quarkus-vertx-http-config-group-static-resources-config.adoc @@ -136,11 +136,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-http-general-config-items.adoc b/_generated-doc/main/config/quarkus-vertx-http-general-config-items.adoc index ac0b07a627..19e1e678de 100644 --- a/_generated-doc/main/config/quarkus-vertx-http-general-config-items.adoc +++ b/_generated-doc/main/config/quarkus-vertx-http-general-config-items.adoc @@ -2939,12 +2939,18 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-vertx-http.adoc b/_generated-doc/main/config/quarkus-vertx-http.adoc index 59dba3db49..e43a2b3a73 100644 --- a/_generated-doc/main/config/quarkus-vertx-http.adoc +++ b/_generated-doc/main/config/quarkus-vertx-http.adoc @@ -3838,12 +3838,18 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-virtual-threads-virtual-threads-virtual-threads-config.adoc b/_generated-doc/main/config/quarkus-virtual-threads-virtual-threads-virtual-threads-config.adoc index 0873ac1508..7710ffb213 100644 --- a/_generated-doc/main/config/quarkus-virtual-threads-virtual-threads-virtual-threads-config.adoc +++ b/_generated-doc/main/config/quarkus-virtual-threads-virtual-threads-virtual-threads-config.adoc @@ -87,11 +87,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-virtual-threads.adoc b/_generated-doc/main/config/quarkus-virtual-threads.adoc index 5b0449c3ff..54f6a61bce 100644 --- a/_generated-doc/main/config/quarkus-virtual-threads.adoc +++ b/_generated-doc/main/config/quarkus-virtual-threads.adoc @@ -87,11 +87,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_generated-doc/main/config/quarkus-webauthn-security-webauthn-web-authn-run-time-config.adoc b/_generated-doc/main/config/quarkus-webauthn-security-webauthn-web-authn-run-time-config.adoc index b2f72275b3..b37f696db7 100644 --- a/_generated-doc/main/config/quarkus-webauthn-security-webauthn-web-authn-run-time-config.adoc +++ b/_generated-doc/main/config/quarkus-webauthn-security-webauthn-web-authn-run-time-config.adoc @@ -330,11 +330,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[] diff --git a/_versions/main/guides/_includes/duration-format-note.adoc b/_versions/main/guides/_includes/duration-format-note.adoc index 5f0fc05d24..8738c77891 100644 --- a/_versions/main/guides/_includes/duration-format-note.adoc +++ b/_versions/main/guides/_includes/duration-format-note.adoc @@ -1,10 +1,15 @@ [NOTE] ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` for seconds, minute and hours or `P` for days are implicitly prepended to the value to obtain a standard `java.time.Duration` format. -Milliseconds are also supported by implicitly using `Duration.ofMillis()` +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ====