javax.sql.ConnectionPoolDataSource是数据源连接池接口。
方法名 | 返回值类型 | 支持JDBC 4 |
|---|---|---|
getLoginTimeout() | int | Yes |
getLogWriter() | PrintWriter | Yes |
getPooledConnection() | PooledConnection | Yes |
getPooledConnection(String user,String password) | PooledConnection | Yes |
setLoginTimeout(int seconds) | void | Yes |
setLogWriter(PrintWriter out) | void | Yes |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3146416/ ,如需转载,请注明出处,否则将追究法律责任。