7.6.2   Database Storage

The Configure simulation New Database Connection action, icon , is located in the Util menu of RMA. It opens the Simulation Database Configuration dialog shown in Section 7.6.2. To work with a simulation database, a database connection must be set up. The Simulation Database Configuration dialog enables adding, editing or removing database connections.

Figure 109   Simulation Database Configuration Dialog

RMA is not responsible for configuring the database, this must be done manually. The settings in the dialog should match the ones that have been set up in the database server that the user wants to connect to. The fields that must be filled in are listed in Table 64.

Table 64    Simulation Database Configuration Settings

Field

Description

Name

A name of the database.

Type

The type of the database. (Chosen from a list of database types supported by RMA).

Driver

Java class path to the Java Database Connectivity (JDBC) driver required by RMA to connect to the database. See Section 7.6.2.1 for more information on where the driver is located.

URL

An address to the database. It should be written on the form: jdbc:TYPE://ADDRESS/NAME where TYPE is replaced by the database type, ADDRESS is replaced with the IP address where the database is residing, and NAME is replaced with the actual name of the database.

User

The user name required to login to the database.

The Open simulation set action, icon, opens a simulation set from a database similar to the file storage variant. The selection of from which database the set should be loaded is done through the Simulation Database Connection dialog, shown in Figure 110.

Figure 110   Simulation Database Connection Dialog

  1. Choose a predefined connection from the Connection drop-down.
  2. Press Connect. This lists all available sets on that database.
  3. If the database connection does not exist, a Database Connection Password dialog box will appear as shown in the following figure:


    Database Connection Password

  4. Enter the database connection password and click on OK button. Details for every set are shown next to the set name.

    It is possible to select one simulation set by pressing Select.

The Save simulation set action, icon , works similar to the file storage version, but instead of a browse dialog, the Simulation Database Connection dialog is shown.

Save simulation set as action, icon , works similar to the file storage version, but instead of a browse dialog, the Simulation Database Connection dialog is shown.