Generating an export file with the exportStatement method
- Last Updated: June 6, 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
You can generate an export file by calling the
exportStatements method of the
ExtStatementPoolMonitorMBean interface. For example, the following code
exports the contents of the statement pool associated with the connection to a file named
stmt_export.
ExtStatementPoolMonitor monitor =
((ExtConnection) con).getStatementPoolMonitor();
exportStatements(stmt_export.txt)