All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.utils.Pool | +----org.xmlmiddleware.db.ConnectionPool | +----org.xmlmiddleware.db.JDBC2DataSource
If you have a JDBC 2.0 DataSource that pools connections but not statements, use StatementPoolDataSource. If you have a JDBC 2.0 DataSource that pools both connections and statements, use it directly.
public JDBC2DataSource(DataSource ds) throws SQLException
public JDBC2DataSource(String jndiContext, String dataSource)
public Connection getConnection() throws SQLExceptiongetConnection
public Connection getConnection(String username, String password) throws SQLExceptiongetLogWriter
public PrintWriter getLogWriter() throws SQLExceptionsetLogWriter
public void setLogWriter(PrintWriter out) throws SQLExceptionsetLoginTimeout
public void setLoginTimeout(int seconds) throws SQLExceptiongetLoginTimeout
public int getLoginTimeout() throws SQLException
All Packages Class Hierarchy This Package Previous Next Index