更新时间:2025-02-27 GMT+08:00
javax.sql.DataSource
javax.sql.DataSource是数据源接口。
方法名 | 返回值类型 | 支持JDBC 4 |
|---|---|---|
getConneciton() | Connection | Yes |
getConnection(String username,String password) | Connection | Yes |
getLoginTimeout() | int | Yes |
getLogWriter() | PrintWriter | Yes |
setLoginTimeout(int seconds) | void | Yes |
setLogWriter(PrintWriter out) | void | Yes |
父主题:JDBC接口参考

