public interface DataSource
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
Connection getConnection() throws SQLException
SQLException
Connection getConnection(String username, String password) throws SQLException
SQLException
PrintWriter getLogWriter() throws SQLException
SQLException
void setLogWriter(PrintWriter out) throws SQLException
SQLException
void setLoginTimeout(int seconds) throws SQLException
SQLException
int getLoginTimeout() throws SQLException
SQLException