Clearing all statements in a statement pool
- Last Updated: June 5, 2018
- 1 minute read
- 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
To close and discard all statements in a statement pool, use the
emptyPool() method of the ExtStatementPoolMonitorMBean
interface. For example:
ExtStatementPoolMonitor monitor =
((ExtConnection) con).getStatementPoolMonitor().emptyPool();