skip to main content
Using the Driver : Statement Pool Monitor : Clearing All Statements in a Statement Pool
  

Try DataDirect Drivers Now

Clearing All Statements in a Statement Pool

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();