Troubleshooting : Troubleshooting Statement Pooling : Generating a Statement Pool Export File

Generating a Statement Pool Export File
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)

© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.