Skip to content

Commit

Permalink
Merge branch '2.7.x'
Browse files Browse the repository at this point in the history
Closes gh-31207
  • Loading branch information
snicoll committed May 30, 2022
2 parents d354c03 + 95dad34 commit a27427b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -200,7 +200,7 @@ Spring Boot will automatically detect beans of the following types that initiali
- `SpringLiquibase`

If you are using a third-party starter for a database initialization library, it may provide a detector such that beans of other types are also detected automatically.
To have other beans be detected, register an implementation of `DatabaseInitializerDetector` in `META-INF/spring-factories`.
To have other beans be detected, register an implementation of `DatabaseInitializerDetector` in `META-INF/spring.factories`.



Expand All @@ -215,5 +215,5 @@ Spring Boot will automatically detect beans of the following types that depends
- `NamedParameterJdbcOperations`

If you are using a third-party starter data access library, it may provide a detector such that beans of other types are also detected automatically.
To have other beans be detected, register an implementation of `DependsOnDatabaseInitializationDetector` in `META-INF/spring-factories`.
To have other beans be detected, register an implementation of `DependsOnDatabaseInitializationDetector` in `META-INF/spring.factories`.
Alternatively, annotate the bean's class or its `@Bean` method with `@DependsOnDatabaseInitialization`.

0 comments on commit a27427b

Please sign in to comment.