DB Connection

From STIQ

Jump to: navigation, search

The database connection information is stored in the storytestiq.properties file located in the STIQ directory.

Example: storytestiq.properties

STIQDatabaseDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver
STIQDatabaseConnectionString=jdbc:sqlserver://localhost:nnnn;DatabaseName=SOMENAME
STIQDatabaseUsername=username
STIQDatabasePassword=password

The DB name is in the connection string so all queries are executed against the specified database.

The JDBC driver must be found on the STIQ class path. The class path can be set in the command line that launches the application.

Personal tools
Noteworthy