All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.db.StatementPoolDataSource
If you have a JDBC 2.0 DataSource that does not pool connections or statements, use JDBC2DataSource. If you have a JDBC 2.0 DataSource that pools both connections and statements, use it directly.
WARNING: Unlike the other implementations of DataSource in this package, this data source does not retain statement pools when the Connection is closed. This is because closing the Connection returns it to the pool implemented by the underlying DataSource, which is outside of our control.
public StatementPoolDataSource(DataSource ds)
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
public void connectionClosed(CPConnectionEvent event)
public void connectionErrorOccurred(CPConnectionEvent event)
All Packages Class Hierarchy This Package Previous Next Index