#130 - Fix scheme name in sample code.

Fix scheme name.
This commit is contained in:
Toshiaki Maki
2019-05-24 23:10:41 +09:00
committed by Mark Paluch
parent 376bfef387
commit 85dcf6b71d
2 changed files with 2 additions and 2 deletions

View File

@@ -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]]

View File

@@ -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);