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

Class DBM

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


publicclass 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

publicDBM(Properties properties)

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

Parameters:
properties

Method Details

cmd

publicStringcmd(String cmdString)

executes cmdString in the current dbm session.

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

dbDBM

publicstatic DBMdbDBM(String host,String dbname)

creates a new DBM by specifying the host and the dbname

Parameters:
host
dbname

dbrootDBM

publicstatic DBMdbrootDBM(String host,String dbroot)

create a new DBM by specifying the host and the dbroot

Parameters:
host
dbroot

finalize

publicvoidfinalize()


release

publicvoidrelease()

closes the connection