diff --git a/docs/src/main/asciidoc/datasource.adoc b/docs/src/main/asciidoc/datasource.adoc index 5c427dc8c425e..f10ce0b1f5cdb 100644 --- a/docs/src/main/asciidoc/datasource.adoc +++ b/docs/src/main/asciidoc/datasource.adoc @@ -564,7 +564,7 @@ Example:: `jdbc:h2:tcp://localhost/~/test`, `jdbc:h2:mem:myDB` H2 is an embedded database that can run as a server, based on a file, or run completely in memory. All of these options are available as listed above. -For more information, see the link:https://h2database.com/html/features.html?highlight=url&search=url#database_url[official documentation]. +For more information, see the link:https://h2database.com/html/features.html#database_url[official documentation]. ==== MariaDB @@ -592,7 +592,7 @@ hostDescription:: `[:] or address=(host=)[(port= leakDetectionInterval(); /** @@ -72,6 +74,7 @@ public interface DataSourceJdbcRuntimeConfig { /** * The max lifetime of a connection. */ + @ConfigDocDefault("This feature is disabled by default.") Optional maxLifetime(); /** @@ -92,7 +95,7 @@ public interface DataSourceJdbcRuntimeConfig { boolean flushOnClose(); /** - * When enabled Agroal will be able to produce a warning when a connection is returned + * When enabled, Agroal will be able to produce a warning when a connection is returned * to the pool without the application having closed all open statements. * This is unrelated with tracking of open connections. * Disable for peak performance, but only when there's high confidence that @@ -112,7 +115,7 @@ public interface DataSourceJdbcRuntimeConfig { Optional validationQuerySql(); /** - * Disable pooling to prevent reuse of Connections. Use this with when an external pool manages the life-cycle + * Disable pooling to prevent reuse of Connections. Use this when an external pool manages the life-cycle * of Connections. */ @WithDefault("true") diff --git a/extensions/reactive-datasource/runtime/src/main/java/io/quarkus/reactive/datasource/runtime/DataSourceReactiveRuntimeConfig.java b/extensions/reactive-datasource/runtime/src/main/java/io/quarkus/reactive/datasource/runtime/DataSourceReactiveRuntimeConfig.java index 3099923f7efde..3a2e61c036bcf 100644 --- a/extensions/reactive-datasource/runtime/src/main/java/io/quarkus/reactive/datasource/runtime/DataSourceReactiveRuntimeConfig.java +++ b/extensions/reactive-datasource/runtime/src/main/java/io/quarkus/reactive/datasource/runtime/DataSourceReactiveRuntimeConfig.java @@ -27,8 +27,8 @@ public interface DataSourceReactiveRuntimeConfig { * The datasource URLs. *

* If multiple values are set, this datasource will create a pool with a list of servers instead of a single server. - * The pool uses a round-robin load balancing when a connection is created to select different servers. - * Note: some driver may not support multiple values here. + * The pool uses a round-robin load balancing to select different servers when a connection is created. + * Note that some drivers might not support multiple values here. */ Optional> url();