TrackStudio Enterprise 3.2
Initializing a DB2 Database

The following topic describes how to configure TrackStudio for use with a DB2 database management system.

  1. Create user tablespace and temp system tablespace.
  2. Open a DB2 command window (Windows) or log into the server (UNIX).
  3. Connect to the database:
> db2 connect to <databasename> user <dbuser> using <password>
  1. Configure the database connection properties:
    • TrackStudio SA: Go to the Database -> Database Connectivity tab, and enter the JDBC connection properties.
    • TrackStudio WAR: Edit the trackstudio.hibernate.properties:
hibernate.dialect org.hibernate.dialect.DB2Dialect
hibernate.connection.url jdbc:db2://127.0.0.1/trackstudio
hibernate.connection.driver_class COM.ibm.db2.jdbc.net.DB2Driver
hibernate.connection.username db2admin
hibernate.connection.password db2admin
  1. Initialize the database:
    • TrackStudio SA: Go to the Database -> Database Management tab and click the Create Database button.
    • TrackStudio WAR: Execute sql\install\trackstudio-db2.sql:
> db2 -tvf trackstudio-db2.sql
Copyright (c) 2002-2006. All rights reserved.
What do you think about this topic? Send feedback!