Skip to content

Commit b7ac83a

Browse files
committed
Fix typo
1 parent 1df8b58 commit b7ac83a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,7 @@ Make sure to disable `spring.jpa.hibernate.ddl-auto` if you use `schema.sql`.
19651965

19661966

19671967

1968-
[[howto-initialize-a-database-using-r2dc]]
1968+
[[howto-initialize-a-database-using-r2dbc]]
19691969
=== Initialize a Database Using R2DBC
19701970
If you are using R2DBC, the regular `DataSource` auto-configuration backs off so none of the options described above can be used.
19711971

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3906,7 +3906,7 @@ TIP: You do not need to specify a driver class name, since Spring Boot obtains t
39063906
NOTE: At least the url should be provided.
39073907
Information specified in the URL takes precedence over individual properties, i.e. `name`, `username`, `password` and pooling options.
39083908

3909-
TIP: The "`How-to`" section includes a <<howto.adoc#howto-initialize-a-database-using-r2dc, section on how to initialize a database>>.
3909+
TIP: The "`How-to`" section includes a <<howto.adoc#howto-initialize-a-database-using-r2dbc, section on how to initialize a database>>.
39103910

39113911
To customize the connections created by a `ConnectionFactory`, i.e., set specific parameters that you do not want (or cannot) configure in your central database configuration, you can use a `ConnectionFactoryOptionsBuilderCustomizer` `@Bean`.
39123912
The following example shows how to manually override the database port while the rest of the options is taken from the application configuration:

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/src/test/java/smoketest/data/r2dbc/SampleR2dbcApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
import static org.assertj.core.api.Assertions.assertThat;
3131

32-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = "spring.r2dc.generate-unique-name=true")
32+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = "spring.r2dbc.generate-unique-name=true")
3333
class SampleR2dbcApplicationTests {
3434

3535
@Autowired

0 commit comments

Comments
 (0)