Entering content frame

 Database Administration with Java 

Use

You can use Java programs for the administration of databases.

For administration purposes, the Java package com.sap.dbtech.powertoys provides you with the Java class com.sap.dbtech.powertoys.DBM. This Java package is included in the software of the JDBC driver.

You use the Java class com.sap.dbtech.powertoys.DBM to connect to the Database Manager program and to send one or more DBM commands to the Database Manager within this session. As a result, you get the return codes of the commands. You then end the connection to the Database Manager.

The return codes of the commands are provided as Java variables, which you can then format easily. When errors occur, exceptions are raised, which you can then catch and handle.

 

See also:

Connecting to the Database Manager with Java

Executing DBM Commands with Java

Ending the Connection to the Database Manager

Troubleshooting

Example for Querying the Operational State of a Database

 

Leaving content frame