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 SQLException
public Connection getConnection(String username, String password) throws SQLException
public PrintWriter getLogWriter() throws SQLException
public void setLogWriter(PrintWriter out) throws SQLException
public void setLoginTimeout(int seconds) throws SQLException
public int getLoginTimeout() throws SQLException
All Packages Class Hierarchy This Package Previous Next Index