Commit f81e8909 authored by Andy Wilkinson's avatar Andy Wilkinson

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

Closes gh-22094
parent cba9f5b8
...@@ -4055,7 +4055,8 @@ The following examples shows how to set some PostgreSQL connection options: ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment