Document how to re-enable DataSource auto-config when using R2DBC

Closes gh-22094
pull/22996/head
Andy Wilkinson 4 years ago
parent cba9f5b86e
commit f81e8909fa

@ -4055,7 +4055,8 @@ The following examples shows how to set some PostgreSQL connection options:
}
----
When a `ConnectionFactory` bean is available, the regular jdbc `DataSource` auto-configuration backs off.
When a `ConnectionFactory` bean is available, the regular JDBC `DataSource` auto-configuration backs off.
If you want to retain the JDBC `DataSource` auto-configuration, and are comfortable with the risk of using the blocking JDBC API in a reactive application, add `@Import(DataSourceAutoConfiguration.class)` on a `@Configuration` class in your application to re-enable it.

Loading…
Cancel
Save