Commit c8101f8c authored by Stephane Nicoll's avatar Stephane Nicoll

Remove host name in R2DBC's embedded H2 url

Closes gh-25560
parent 3e9341fb
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -37,7 +37,7 @@ public enum EmbeddedDatabaseConnection { ...@@ -37,7 +37,7 @@ public enum EmbeddedDatabaseConnection {
* H2 Database Connection. * H2 Database Connection.
*/ */
H2("H2", "io.r2dbc.h2.H2ConnectionFactoryProvider", H2("H2", "io.r2dbc.h2.H2ConnectionFactoryProvider",
"r2dbc:h2:mem://in-memory/%s?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"); "r2dbc:h2:mem:///%s?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE");
private final String type; private final String type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment