Removes the specified JDBC connection pool.
Synopsis
asadmin [asadmin-options] delete-jdbc-connection-pool [--help]
[--cascade={false|true}]
jdbc_connection_pool_id
Description
The delete-jdbc-connection-pool subcommand deletes a JDBC connection pool. Before running this subcommand, all associations to the JDBC connection pool must be removed.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadminhelp page. --help-?-
Displays the help text for the subcommand.
--cascade-
If the option is set to true, all the JDBC resources associated with the pool, apart from the pool itself, are deleted. When set to false, the deletion of pool fails if any resources are associated with the pool. Resources must be deleted explicitly or the option must be set to true. The default value is false.
Examples
Example 1 Deleting a JDBC Connection Pool
This example deletes the sample_derby_pool JDBC connection pool.
asadmin> delete-jdbc-connection-pool --cascade=false sample_derby_pool
Command delete-jdbc-connection-pool executed correctly.