javax.sql.DataSource
This section describes javax.sql.DataSource, the interface for data sources.
| Method Name | Return Type | Support 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 |
Last Article: javax.sql.ConnectionPoolDataSource
Next Article: javax.sql.PooledConnection
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.