skip to main content
DataDirect tools : 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();