⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
com.sap.dbtech.powertoys

Class DBM

java.lang.Object
|
+--com.sap.dbtech.powertoys.DBM


public class DBM
extends java.lang.Object

Executes administration commands for SAP DB

Constructor Summary

DBM(Properties properties)

creates a new DBM.

Method Summary

String

cmd(String cmdString)

executes cmdString in the current dbm session.

static DBM

dbDBM(String host, String dbname)

creates a new DBM by specifying the host and the dbname

static DBM

dbrootDBM(String host, String dbroot)

create a new DBM by specifying the host and the dbroot

void

finalize()

void

release()

closes the connection

Constructor Details

DBM

public DBM(Properties properties)

creates a new DBM. The following properties are used by this class:

Parameters:
properties

Method Details

cmd

public String cmd(String cmdString)

executes cmdString in the current dbm session.

Parameters:
cmdString
Throws:
DBMException -
com.sap.dbtech.rte.comm.RTEException -

dbDBM

public static DBM dbDBM(String host, String dbname)

creates a new DBM by specifying the host and the dbname

Parameters:
host
dbname

dbrootDBM

public static DBM dbrootDBM(String host, String dbroot)

create a new DBM by specifying the host and the dbroot

Parameters:
host
dbroot

finalize

public void finalize()


release

public void release()

closes the connection