public class DataSourcePooledConnection extends AbstractPooledConnection<DataSource> implements PooledConnection
| Constructor and Description |
|---|
DataSourcePooledConnection(DataSource dataSource,
int maxStatements) |
DataSourcePooledConnection(DataSource dataSource,
String user,
String password,
int maxStatements) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionEvent |
getConnectionEvent(SQLException sqlException) |
addConnectionEventListener, addStatementEventListener, close, finalize, getConnection, getLogWriter, getStatementEventListeners, invoke, removeConnectionEventListener, removeStatementEventListenerclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListenerpublic DataSourcePooledConnection(DataSource dataSource, int maxStatements) throws SQLException
SQLExceptionpublic DataSourcePooledConnection(DataSource dataSource, String user, String password, int maxStatements) throws SQLException
SQLExceptionpublic ConnectionEvent getConnectionEvent(SQLException sqlException)
getConnectionEvent in class AbstractPooledConnection<DataSource>Copyright © 2017. All rights reserved.