Skip to content

Commit e447c49

Browse files
1993heqiangwilkinsona
authored andcommitted
Update two references to old APIs in the docs
See gh-34567
1 parent cfd4341 commit e447c49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ For more advanced queries, a `@Query` annotation is provided.
298298

299299
Spring Boot will auto-configure Spring Data's JDBC repositories when the necessary dependencies are on the classpath.
300300
They can be added to your project with a single dependency on `spring-boot-starter-data-jdbc`.
301-
If necessary, you can take control of Spring Data JDBC's configuration by adding the `@EnableJdbcRepositories` annotation or a `JdbcConfiguration` subclass to your application.
301+
If necessary, you can take control of Spring Data JDBC's configuration by adding the `@EnableJdbcRepositories` annotation or a `AbstractJdbcConfiguration` subclass to your application.
302302

303303
TIP: For complete details of Spring Data JDBC, see the {spring-data-jdbc-docs}[reference documentation].
304304

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ The algorithm used to determine a `WebApplicationType` is the following:
289289
This means that if you are using Spring MVC and the new `WebClient` from Spring WebFlux in the same application, Spring MVC will be used by default.
290290
You can override that easily by calling `setWebApplicationType(WebApplicationType)`.
291291

292-
It is also possible to take complete control of the `ApplicationContext` type that is used by calling `setApplicationContextClass(...)`.
292+
It is also possible to take complete control of the `ApplicationContext` type that is used by calling `setApplicationContextFactory(...)`.
293293

294294
TIP: It is often desirable to call `setWebApplicationType(WebApplicationType.NONE)` when using `SpringApplication` within a JUnit test.
295295

0 commit comments

Comments
 (0)