Skip to content

Commit

Permalink
Document how to re-enable DataSource auto-config when using R2DBC
Browse files Browse the repository at this point in the history
Closes gh-22094
  • Loading branch information
wilkinsona committed Jul 30, 2020
1 parent cba9f5b commit f81e890
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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.



Expand Down

0 comments on commit f81e890

Please sign in to comment.