提交 d1842ffa authored 作者: Thomas Mueller's avatar Thomas Mueller

Database URLs can now be re-mapped to another URL using the system property…

Database URLs can now be re-mapped to another URL using the system property "h2.urlMap", which points to a properties file with database URL mappings.
上级 3c94b161
......@@ -613,7 +613,10 @@ public class ConnectionInfo implements Cloneable {
prop.put(url, "");
prop.store(urlMap);
} else {
return url2;
url2 = url2.trim();
if (url2.length() > 0) {
return url2;
}
}
} catch (IOException e) {
throw DbException.convert(e);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论