| java.lang.Object hu.netmind.persistence.DriverDataSource
DriverDataSource | public class DriverDataSource implements DataSource(Code) | | This is a data source for backwards compatibility. Older JDBC implementations
only supported driver based connection establishing, this is a wrapper
to make data source out of a driver.
author: Brautigam Robert version: Revision: $Revision$ |
getConnection | public Connection getConnection() throws SQLException(Code) | | Get the connection using the url specified in constructor.
A connection from the DriverManager. |
getConnection | public Connection getConnection(String params) throws SQLException(Code) | | Get the connection using the url specified in constructor.
Parameters: params - Additional parameters. A connection from the DriverManager. |
getConnection | public Connection getConnection(String username, String password) throws SQLException(Code) | | Get the connection using the url specified in constructor, with
username and password given.
Parameters: username - The username. Parameters: password - The password. A connection from the DriverManager. |
getLoginTimeout | public int getLoginTimeout()(Code) | | Get the login timeout.
|
setLoginTimeout | public void setLoginTimeout(int timeout)(Code) | | Set the login timeout.
|
|
|