public final class NewPooledConnection
extends java.lang.Object
Constructor and Description |
---|
NewPooledConnection(java.sql.Connection con,
ConnectionTester connectionTester,
boolean autoCommitOnClose,
boolean forceIgnoreUnresolvedTransactions,
java.lang.String preferredTestQuery,
ConnectionCustomizer cc,
java.lang.String pdsIdt) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(javax.sql.ConnectionEventListener cel) |
void |
addStatementEventListener(javax.sql.StatementEventListener sel) |
void |
close() |
void |
closeAll() |
java.sql.Connection |
getConnection() |
int |
getConnectionStatus() |
GooGooStatementCache |
getStatementCache() |
void |
initStatementCache(GooGooStatementCache scache) |
void |
printConnectionListeners() |
void |
printStatementListeners() |
void |
removeConnectionEventListener(javax.sql.ConnectionEventListener cel) |
void |
removeStatementEventListener(javax.sql.StatementEventListener sel) |
public NewPooledConnection(java.sql.Connection con, ConnectionTester connectionTester, boolean autoCommitOnClose, boolean forceIgnoreUnresolvedTransactions, java.lang.String preferredTestQuery, 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 int getConnectionStatus()
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 cel)
public void removeConnectionEventListener(javax.sql.ConnectionEventListener cel)
public void printConnectionListeners()
public void addStatementEventListener(javax.sql.StatementEventListener sel)
public void removeStatementEventListener(javax.sql.StatementEventListener sel)
public void printStatementListeners()
public void initStatementCache(GooGooStatementCache scache)
public GooGooStatementCache getStatementCache()