Browse Source

Merge branch '3.0.x' into 3.1.x

Closes gh-36139
pull/36168/head
Andy Wilkinson 3 years ago
parent
commit
d7da2d9eb2
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/sql.adoc

2
spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/sql.adoc

@ -451,7 +451,7 @@ Information specified in the URL takes precedence over individual properties, th @@ -451,7 +451,7 @@ Information specified in the URL takes precedence over individual properties, th
TIP: The "`How-to`" section includes a <<howto#howto.data-initialization.using-basic-sql-scripts, section on how to initialize a database>>.
To customize the connections created by a `ConnectionFactory`, that is, set specific parameters that you do not want (or cannot) configure in your central database configuration, you can use a `ConnectionFactoryOptionsBuilderCustomizer` `@Bean`.
The following example shows how to manually override the database port while the rest of the options is taken from the application configuration:
The following example shows how to manually override the database port while the rest of the options are taken from the application configuration:
include::code:MyR2dbcConfiguration[]

Loading…
Cancel
Save