| 
        
        PooledConnection Method 
         | 
      
        
        Version
        
       
        Introduced
         | 
      
        
        Supported
         | 
      
        
        Comments
         | 
     
| 
        
        void addConnectionEventListener (ConnectionEventListener)
         | 
      
        
        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 the method getConnection a second time is to give that 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 this “reclaiming” of connections and will throw a SQLException “Reclaim of open connection is not supported.”
         | 
     
| 
        
        void removeConnectionEvent Listener (ConnectionEventListener)  | 
      
        
        2.0 Optional
         | 
      
        
        Yes
         | 
      
        | 
     
| 
        
        void removeStatementEventListener(listener)
         | 
      
        
        4.0
         | 
      
        
        Yes
         | 
      
        |