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() | Integer | Yes |
| getLogWriter() | PrintWriter | Yes |
| setLoginTimeout(int seconds) | Void | Yes |
| setLogWriter(PrintWriter out) | Void | Yes |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.