All Packages Class Hierarchy This Package Previous Next Index
Class org.xmlmiddleware.db.JDBC1DataSource
java.lang.Object
|
+----org.xmlmiddleware.utils.Pool
|
+----org.xmlmiddleware.db.ConnectionPool
|
+----org.xmlmiddleware.db.JDBC1DataSource
- public class JDBC1DataSource
- extends ConnectionPool
- implements DataSource
Implements a JDBC 2.0 DataSource for a JDBC 1.0 driver.
- Version:
- 2.0
- Author:
- Sean Walter, 2001
-
JDBC1DataSource(String, String)
- Create a new JDBC1DataSource.
-
getConnection()
-
-
getConnection(String, String)
-
-
getLoginTimeout()
-
-
getLogWriter()
- Always returns null.
-
setLoginTimeout(int)
-
-
setLogWriter(PrintWriter)
- Does nothing.
JDBC1DataSource
public JDBC1DataSource(String driver,
String url)
- Create a new JDBC1DataSource.
getConnection
public Connection getConnection() throws SQLException
getConnection
public Connection getConnection(String username,
String password) throws SQLException
getLogWriter
public PrintWriter getLogWriter() throws SQLException
- Always returns null. See the code if you are using JDBC 2.0.
setLogWriter
public void setLogWriter(PrintWriter out) throws SQLException
- Does nothing. See the code if you are using JDBC 2.0.
setLoginTimeout
public void setLoginTimeout(int seconds) throws SQLException
getLoginTimeout
public int getLoginTimeout() throws SQLException
All Packages Class Hierarchy This Package Previous Next Index