Entering content frame

Function documentation Database Manager Java Classes Locate the document in the library structure

Use

To manage a MaxDB database instance in a Java application, you use the Database Manager Java classes.

Prerequisites

     You have installed the software component JDBC (see Installation Manual, Structure linkSoftware Components).

     You have added the sapdbc.jar path to the CLASSPATH environment variable.

Features

The Database Manager Java classes are found in the file <independent_program_path>\runtime\jar\sapdbc.jar.

Example

C:\Program Files\sdb\programs\runtime\jar\sapdbc.jar

Database Manager Java Classes

Class

Task

com.sap.dbtech.powertoys.DBM

Establishing/closing the connection to the database instance

Executing DBM commands (commands in the administration tool of the Database Manager)

com.sap.dbtech.powertoys.DBMException

Troubleshooting

Methods of the com.sap.dbtech.powertoys.DBM Class

Method

Task

dbrootDBM

Connecting Java applications to the DBM server of a certain software version

Note

You require these methods to create a new database instance

dbDBM

Connecting Java application to a database instance using the Database Manager

cmd

Executing DBM commands

cancel

Canceling a DBM command

release

Closing the connection to the Database Manager

Methods of the com.sap.dbtech.powertoys.DBMException Class

See Troubleshooting (Database Manager)

Example

Example: Displaying the Operational State of the Database Instance

See also:

Database Manager CLI, Structure linkOverview of all DBM Commands

Structure linkDatabase Manager CLI

Structure linkDatabase Manager GUI

 

Leaving content frame