skip to main content
About the Driver : Using the driver : Troubleshooting : Troubleshooting statement pooling : Generating an export file with the exportStatement method
  

Try DataDirect Drivers Now
Generating an export file with the exportStatement method
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)