public final class C3P0PooledConnection
extends java.lang.Object
Constructor and Description |
---|
C3P0PooledConnection(java.sql.Connection con,
ConnectionTester connectionTester,
boolean autoCommitOnClose,
boolean forceIgnoreUnresolvedTransactions,
ConnectionCustomizer cc,
java.lang.String pdsIdt) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(javax.sql.ConnectionEventListener listener) |
void |
addStatementEventListener(javax.sql.StatementEventListener sel) |
void |
close() |
void |
closeAll() |
java.sql.Connection |
getConnection() |
int |
getConnectionStatus() |
void |
removeConnectionEventListener(javax.sql.ConnectionEventListener listener) |
void |
removeStatementEventListener(javax.sql.StatementEventListener sel) |
public C3P0PooledConnection(java.sql.Connection con, ConnectionTester connectionTester, boolean autoCommitOnClose, boolean forceIgnoreUnresolvedTransactions, ConnectionCustomizer cc, java.lang.String pdsIdt) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
public void closeAll() throws java.sql.SQLException
java.sql.SQLException
public void close() throws java.sql.SQLException
java.sql.SQLException
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
public void addStatementEventListener(javax.sql.StatementEventListener sel)
public void removeStatementEventListener(javax.sql.StatementEventListener sel)
public int getConnectionStatus()