提交 ea080faa authored 作者: noelgrandin's avatar noelgrandin

remove dead code

上级 b4616c5e
......@@ -50,24 +50,6 @@ public class Db {
}
}
/**
* Open the database connection. For most databases, it is not required to
* load the driver before calling this method.
*
* @param url the database URL
* @param user the user name
* @param password the password
* @return the database
*/
public static Db open(String url, String user, String password) {
try {
JdbcUtils.load(url);
return new Db(DriverManager.getConnection(url, user, password));
} catch (SQLException e) {
throw convert(e);
}
}
/**
* Prepare a SQL statement.
*
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论