diff --git a/src/main/asciidoc/reference/r2dbc-connections.adoc b/src/main/asciidoc/reference/r2dbc-connections.adoc index 1e7de9a..12dccbb 100644 --- a/src/main/asciidoc/reference/r2dbc-connections.adoc +++ b/src/main/asciidoc/reference/r2dbc-connections.adoc @@ -35,7 +35,7 @@ The following example shows how to configure a `ConnectionFactory` in Java: [source,java,indent=0] [subs="verbatim,quotes"] ---- - ConnectionFactory factory = ConnectionFactories.get("rdbc:h2:mem:///test?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"); + ConnectionFactory factory = ConnectionFactories.get("r2dbc:h2:mem:///test?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"); ---- [[r2dbc.connections.ConnectionFactoryUtils]] diff --git a/src/main/asciidoc/reference/r2dbc-core.adoc b/src/main/asciidoc/reference/r2dbc-core.adoc index 95a1b31..a4c74be 100644 --- a/src/main/asciidoc/reference/r2dbc-core.adoc +++ b/src/main/asciidoc/reference/r2dbc-core.adoc @@ -135,7 +135,7 @@ public class R2dbcApp { public static void main(String[] args) throws Exception { - ConnectionFactory connectionFactory = ConnectionFactories.get("rdbc:h2:mem:///test?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"); + ConnectionFactory connectionFactory = ConnectionFactories.get("r2dbc:h2:mem:///test?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"); DatabaseClient client = DatabaseClient.create(connectionFactory);