Skip to content

AdminJDBC

The AdminJDBC script library provides the script procedures that configure and query Java Database Connectivity (JDBC) provider and data source settings.

The AdminJDBC script library provides the following script procedures. To display detailed information about each script procedures, use the help command for the AdminJDBC script library, specifying the name of the script of interest as an argument. The script procedures that take the scope argument can be specified in following formats (Cell, Node, Server, Cluster): for example, a cluster can be specified as: "Cell=myCell,Cluster=myCluster" or "/Cell:myCell/ServerCluster:myCluster/" or "myCluster(cells/myCell/clusters/myCluster|cluster.xml#Cluster_1)"

A node can be specified as

"Cell=myCell,Node=myNode" or "/Cell:myCell/Node:myNode/" or "myNode(cells/myCell/nodes/myNode|node.xml#Node_1)"

A server can be specified as

"Cell=myCell,Node=myNode,Server=myServer" or "/Cell:myCell/Node:myNode/Server:myServer/" or "myServer(cells/myCell/nodes/myNode/servers/myServer|server.xml#Server_1)"

The script procedures that take the optional arguments can be specified with a list or string format: for example, otherAttributeList can be specified as: "description=my new resource, isolatedClassLoader=true" or [["description", "my new resource"], ["isolatedClassLoader", "true"]]

AdminJDBC.createDataSource(*args)

Create a new data source in your configuration.

AdminJDBC.createDataSourceAtScope(*args)

Create a new data source in your configuration on the specified scope.

AdminJDBC.createDataSourceUsingTemplate(*args)

Use a template to create a new data source in your configuration.

AdminJDBC.createDataSourceUsingTemplateAtScope(*args)

Use a template to create a new data source in your configuration on the specified scope.

AdminJDBC.createJDBCProvider(*args)

Create a new JDBC provider in your environment.

AdminJDBC.createJDBCProviderAtScope(*args)

Create a new JDBC provider in your environment on the specified scope.

AdminJDBC.createJDBCProviderUsingTemplate(*args)

Use a template to create a new JDBC provider in your environment.

AdminJDBC.createJDBCProviderUsingTemplateAtScope(*args)

Use a template to create a new JDBC provider in your environment on the specified scope.

AdminJDBC.help(*args)

Display AdminJDBC script library online help.

AdminJDBC.listDataSourceTemplates(*args)

Display a list of configuration IDs for the data source templates in your environment.

AdminJDBC.listDataSources(*args)

Display a list of configuration IDs for the data sources in your configuration.

AdminJDBC.listJDBCProviderTemplates(*args)

Display a list of configuration IDs for the JDBC provider templates in your environment.

AdminJDBC.listJDBCProviders(*args)

Display a list of configuration IDs for the JDBC providers in your environment.