This method of the com.sap.dbtech.powertoys.DBM class is used for connecting your Java application to the DBM server of a specific SAP MaxDB software version.
Caution
Only use this method if you want to create a new database with your Java application.
To execute other DBM commands, use the com.sap.dbtech.powertoys.DBM.dbDBM method to connect to the database.
You have access to the computer on which you want to create the new database.
On Microsoft Windows, you additionally need administration rights and the Log on as batch job right on that computer.
Syntax
public static DBM dbrootDBM(String database_computer, String dependent_path) throws com.sap.dbtech.rte.comm.RTEException
Name |
Description |
---|---|
database_computer |
Name of the database computer To connect to a DBM server on the local computer, enter the value null. |
dependent_path |
Path of the database software in the desired version To connect to the DBM server with the highest software version, enter the value null. To display the paths and versions of software installed on your computer, enter the following command in the command line: dbmcli db_enum |
Class |
Description |
---|---|
com.sap.dbtech.rte.comm.RTEException |