| |
|
| javax.sql.PooledConnection
PooledConnection | public interface PooledConnection (Code) | | A PooledConnection object is a connection object that provides hooks for connection pool management.
A PooledConnection object represents a physical connection to a data source.
|
addConnectionEventListener | public void addConnectionEventListener(ConnectionEventListener connectionEventListener)(Code) | | Add an event listener.
Parameters: connectionEventListener - - The listener |
getConnection | public Connection getConnection() throws SQLException(Code) | | Create an object handle for this physical connection. The object returned is a temporary handle used by
application code to refer to a physical connection that is being pooled.
a Connection object exception: SQLException - - if a database-access error occurs. |
removeConnectionEventListener | public void removeConnectionEventListener(ConnectionEventListener connectionEventListener)(Code) | | Remove an event listener.
Parameters: connectionEventListener - - The listener |
|
|
|