Package com.mchange.v2.c3p0.impl
Class NewPooledConnection
java.lang.Object
com.mchange.v2.c3p0.impl.NewPooledConnection
- All Implemented Interfaces:
com.mchange.v1.util.ClosableResource
,PooledConnection
-
Constructor Summary
ConstructorsConstructorDescriptionNewPooledConnection
(Connection con, ConnectionTester connectionTester, boolean autoCommitOnClose, boolean forceIgnoreUnresolvedTransactions, String preferredTestQuery, ConnectionCustomizer cc, String pdsIdt) -
Method Summary
-
Constructor Details
-
NewPooledConnection
public NewPooledConnection(Connection con, ConnectionTester connectionTester, boolean autoCommitOnClose, boolean forceIgnoreUnresolvedTransactions, String preferredTestQuery, ConnectionCustomizer cc, String pdsIdt) throws SQLException - Throws:
SQLException
-
-
Method Details
-
getConnection
- Throws:
SQLException
-
getConnectionStatus
public int getConnectionStatus() -
closeAll
- Throws:
SQLException
-
close
- Throws:
SQLException
-
addConnectionEventListener
-
removeConnectionEventListener
-
printConnectionListeners
public void printConnectionListeners() -
addStatementEventListener
-
removeStatementEventListener
-
printStatementListeners
public void printStatementListeners() -
initStatementCache
-
getStatementCache
-