interbase.interclient
Class PooledConnection
java.lang.Object
|
+--interbase.interclient.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
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PooledConnection
public PooledConnection()
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
Send comments or suggestions to interclient@interbase.com