javax.sql.DataSource
javax.sql.DataSource is a data source API.
| Method Name | Return Type | Support JDBC4 (Yes/No) | Support Unplanned ALT (Yes/No) |
|---|---|---|---|
| getConneciton() | Connection | Yes | Yes |
| getConnection(String username,String password) | Connection | Yes | Yes |
| getLoginTimeout() | int | Yes | Yes |
| getLogWriter() | PrintWriter | Yes | Yes |
| setLoginTimeout(int seconds) | void | Yes | Yes |
| setLogWriter(PrintWriter out) | void | Yes | Yes |