PooledConnection
- Last Updated: October 9, 2017
- DataDirect Connectors
- JDBC
- Aha! 6.0
- Amazon Redshift 6.0
- Apache Cassandra 6.0
- Apache Hive 6.0
- Apache Spark SQL 6.0
- Atlassian Jira 6.0
- Autonomous REST Connector 6.0
- Cloudera Impala 5.1
- + 24
| 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 |