skip to main content
About the Driver : Using the Driver : Connection Pool Manager : Closing the Connection Pool
  
Closing the Connection Pool
To ensure that the connection pool is closed correctly when an application stops running, the application must notify the DataDirect Connection Pool Manager when it stops. For applications running on Java SE 5 and higher, notification occurs automatically when the application stops running.
The PooledConnectionDataSource.close() method also can be used to explicitly close the connection pool while the application is running. For example, if changes are made to the pool configuration using a pool management tool, the PooledConnectionDataSource.close() method can be used to force the connection pool to close and re-create the pool using the new configuration values.