提交 1b8ca254 authored 作者: Thomas Mueller's avatar Thomas Mueller

JdbcDataSource: the methods setUrl and getUrl where added as aliases for setURL…

JdbcDataSource: the methods setUrl and getUrl where added as aliases for setURL and getURL. This should solve problems with the HikariCP (Hikari connection pool).
上级 3f66dc81
......@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>Issue 537: H2 Console: when loading the schema, incorrect JDBC calls where issued, which caused
<ul><li>JdbcDataSource: the methods setUrl and getUrl where added as aliases for setURL and getURL.
This should solve problems with the HikariCP (Hikari connection pool).
</li><li>Issue 537: H2 Console: when loading the schema, incorrect JDBC calls where issued, which caused
the exception "Column PRECISION not found".
</li><li>Improved Geometry processing (issue 535).
</li><li>The collation can now be set in the database URL, even if there are data tables,
......
......@@ -213,6 +213,32 @@ public class JdbcDataSource extends TraceObject
this.url = url;
}
/**
* Get the current URL.
* <p>
* This method does the same as getURL, but this methods signature conforms
* the JavaBean naming convention.
*
* @return the URL
*/
public String getUrl() {
debugCodeCall("getUrl");
return url;
}
/**
* Set the current URL.
* <p>
* This method does the same as setURL, but this methods signature conforms
* the JavaBean naming convention.
*
* @param url the new URL
*/
public void setUrl(String url) {
debugCodeCall("setUrl", url);
this.url = url;
}
/**
* Set the current password.
*
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论