You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/r2dbc-core.adoc
+8-6
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ There is a https://github.com/spring-projects/spring-data-examples[GitHub reposi
215
215
[[r2dbc.connecting]]
216
216
== Connecting to a Relational Database with Spring
217
217
218
-
One of the first tasks when using relational databases and Spring is to create a `io.r2dbc.spi.ConnectionFactory` object by using the IoC container.
218
+
One of the first tasks when using relational databases and Spring is to create a `io.r2dbc.spi.ConnectionFactory` object by using the IoC container. Make sure to use a <<r2dbc.drivers,supported database and driver>>.
219
219
220
220
[[r2dbc.connectionfactory]]
221
221
=== Registering a `ConnectionFactory` Instance using Java-based Metadata
@@ -245,18 +245,20 @@ This approach lets you use the standard `io.r2dbc.spi.ConnectionFactory` instanc
245
245
[[r2dbc.drivers]]
246
246
=== R2DBC Drivers
247
247
248
-
Spring Data R2DBC supports drivers through R2DBC's pluggable SPI mechanism. You can use any driver that implements the R2DBC spec with Spring Data R2DBC.
249
-
R2DBC is a relatively young initiative that gains significance by maturing through adoption.
250
-
As of this writing, the following drivers are available:
248
+
Spring Data R2DBC supports drivers through R2DBC's pluggable SPI mechanism.
249
+
You can use any driver that implements the R2DBC spec with Spring Data R2DBC.
250
+
Since Spring Data R2DBC reacts to specific features of each database, it requires a `Dialect` implementation otherwise your application won't start up.
251
+
Spring Data R2DBC ships with dialect impelemtations for the following drivers:
Spring Data R2DBC reacts to database specifics by inspecting the `ConnectionFactory` and selects the appropriate database dialect accordingly.
259
-
You can configure your own {spring-data-r2dbc-javadoc}/api/org/springframework/data/r2dbc/dialect/R2dbcDialect.html[`R2dbcDialect`] if the driver you use is not yet known to Spring Data R2DBC.
261
+
You need to configure your own {spring-data-r2dbc-javadoc}/api/org/springframework/data/r2dbc/dialect/R2dbcDialect.html[`R2dbcDialect`] if the driver you use is not yet known to Spring Data R2DBC.
260
262
261
263
TIP: Dialects are resolved by {spring-data-r2dbc-javadoc}/org/springframework/data/r2dbc/dialect/DialectResolver.html[`DialectResolver`] from a `ConnectionFactory`, typically by inspecting `ConnectionFactoryMetadata`.
0 commit comments