Overview | Package | Class | Tree | Deprecated | Index | Help

3.00.12
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## interbase.interclient
Class PooledConnection

    java.lang.Object
      |
      +--interbase.interclient.PooledConnection

All Implemented Interfaces:
  javax.sql.PooledConnection

Direct Known Subclasses:
  XAConnection

public class PooledConnection
extends Object
implements javax.sql.PooledConnection

A PooledConnection object is a connection object that provides hooks for connection pool management.

Since:
  JDBC 2 Standard Extension, proposed for future release, not yet supported
Version:
  Std Ext 0.7

Constructor Summary
`PooledConnection()`

Method Summary
`void` | `addConnectionEventListener(javax.sql.ConnectionEventListener listener)` Add an event listener.
`void` | `close()` Close the database connection.
`Connection` | `getConnection()` Create an object handle for a database connection.
`void` | `removeConnectionEventListener(javax.sql.ConnectionEventListener listener)` Remove an event listener.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PooledConnection

    public PooledConnection()

Method Detail

### getConnection

    public Connection getConnection()
                             throws SQLException

  Create an object handle for a database connection.
  Specified by:
    `getConnection` in interface `javax.sql.PooledConnection`
  Returns:
    a Connection object
  Throws:
    `SQLException` - if a database-access error occurs.
  Since:
    JDBC 2 Standard Extension, proposed for future release, not yet supported

### close

    public void close()
               throws SQLException

  Close the database connection.
  Specified by:
    `close` in interface `javax.sql.PooledConnection`
  Throws:
    `SQLException` - if a database-access error occurs.
  Since:
    JDBC 2 Standard Extension, proposed for future release, not yet supported

### addConnectionEventListener

    public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)

  Add an event listener.
  Specified by:
    `addConnectionEventListener` in interface `javax.sql.PooledConnection`
  Since:
    JDBC 2 Standard Extension, proposed for future release, not yet supported

### removeConnectionEventListener

    public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)

  Remove an event listener.
  Specified by:
    `removeConnectionEventListener` in interface `javax.sql.PooledConnection`
  Since:
    JDBC 2 Standard Extension, proposed for future release, not yet supported

Overview | Package | Class | Tree | Deprecated | Index | Help

3.00.12
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Send comments or suggestions to interclient@borland.com