TestOptimal Wiki

Model-Based Testing (MBT)

User Tools

Site Tools


system_datasource

System DataSource

System DataSource defines a shared data access point. It is defined in '/www/MbtSvr/config/config.properties' as follows:

DATASOURCE.TestDB.CONNSTRING=jdbc connection string
DATASOURCE.TestDB.DRIVERCLASS=jdbc driver class path
DATASOURCE.TestDB.PASSWORD=myDbUserID
DATASOURCE.TestDB.USERNAME=myPassword

where TestDB is the name of the data source to be used in the model.

Typically you will use the following format to specify URI:

sql:datasource=TestDB;sql=SELECT * FROM EMPLOYEE
system_datasource.txt · Last modified: 2016/09/22 02:36 (external edit)