From 85dcf6b71d3d7fe8fe46b5b2f823123dd8a2dcb0 Mon Sep 17 00:00:00 2001 From: Toshiaki Maki Date: Fri, 24 May 2019 23:10:41 +0900 Subject: [PATCH] #130 - Fix scheme name in sample code. Fix scheme name. --- src/main/asciidoc/reference/r2dbc-connections.adoc | 2 +- src/main/asciidoc/reference/r2dbc-core.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);