Package org.smallmind.persistence.sql
Class DataSourcePooledConnection
java.lang.Object
org.smallmind.persistence.sql.AbstractPooledConnection<DataSource>
org.smallmind.persistence.sql.DataSourcePooledConnection
- All Implemented Interfaces:
InvocationHandler,PooledConnection
public class DataSourcePooledConnection
extends AbstractPooledConnection<DataSource>
implements PooledConnection
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourcePooledConnection(DataSource dataSource, int maxStatements) DataSourcePooledConnection(DataSource dataSource, String user, String password, int maxStatements) -
Method Summary
Methods inherited from class org.smallmind.persistence.sql.AbstractPooledConnection
addConnectionEventListener, addStatementEventListener, close, getConnection, getLogWriter, getStatementEventListeners, invoke, removeConnectionEventListener, removeStatementEventListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.PooledConnection
addConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListener
-
Constructor Details
-
DataSourcePooledConnection
- Throws:
SQLException
-
DataSourcePooledConnection
public DataSourcePooledConnection(DataSource dataSource, String user, String password, int maxStatements) throws SQLException - Throws:
SQLException
-
-
Method Details
-
getConnectionEvent
- Specified by:
getConnectionEventin classAbstractPooledConnection<DataSource>
-