To list current JDBC resources, use the following rhino-console command or related MBean operation.
Console command: listdatabaseresources
Command |
listdatabaseresources <resource-type>
Description
List all currently configured database resources. The resource-type parameter
must be either 'persistence' or 'jdbc'.
|
|---|---|
Example |
$ ./rhino-console listdatabaseresources jdbc jdbc myresource |
MBean operation: getJdbcResources
MBean |
|
|---|---|
Rhino operation |
public String[] getJdbcResources()
throws ConfigurationException;
This operation returns an array containing the names of the JDBC resources that have been created. |
