Method Summary |
|
public Connection | getConnection() Attempts to establish a connection with the data source that this DataSource object represents. |
public Connection | getConnection(String username, String password) Attempts to establish a connection with the data source that this DataSource object represents. |
public PrintWriter | getLogWriter() Retrieves the log writer for this DataSource object. |
public int | getLoginTimeout() Gets the maximum time in seconds that this data source can wait while attempting to connect to a database. |
public String | getPoolName() |
public void | setLogWriter(PrintWriter out) Sets the log writer for this DataSource object to the given java.io.PrintWriter object. |
public void | setLoginTimeout(int seconds) Sets the maximum time in seconds that this data source will wait while attempting to connect to a database. |
public void | setPoolName(String poolName) |