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. When an application stops running, a notification occurs automatically.
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.