skip to main content
Reference : JDBC Support : Supported Functionality : PooledConnection
  
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). The purpose of allowing the server (PoolManager implementation) to invoke this a second time is to give an application server a way to take a connection away from an application and give it to another user (a rare occurrence). The drivers do not support the "reclaiming" of connections and will throw an exception.
void removeConnectionEventListener(listener)
2.0 Optional
Yes
 
void removeStatementEventListener(listener)
4.0
Yes