skip to main content
Configuring Hybrid Data Pipeline for JDBC : JDBC support : PooledConnection
  

Try Now

PooledConnection

PooledConnection Methods
Version Introduced
Supported
Comments
void addConnectionEventListener(listener)
2.0 Optional
Yes
void addStatementEventListener(listener)
4.0
Yes
void close()
2.0 Optional
Yes
Connection getConnection()
2.0 Optional
Yes
A pooled connection object can have only one Connection object open (the one most recently created). Depending on your PoolManager implementation, the application can invoke this method a second time as a way to take a connection away from an application and give it to another user (a rare occurrence). The driver does not support the "reclaiming" of connections and will throw an exception.
void removeConnectionEventListener(listener)
2.0 Optional
Yes
void removeStatementEventListener(listener)
4.0
Yes