DB2 Database Configuration

Step 1 Step 2 Step 3 Step 4 Step 5
Substep 1
Substep 2
Substep 3


Step 4: Create a DataSource Object

Substep 1: Create a JDBC Driver

  1. In the IBM WebSphere Application Server Administrative Console, select the Types view.
  2. Right-click JDBCDrivers.
  3. From the pop-up menu, select Create.
  4. Use these values in the subsequent dialog:
    • Name: Enter an arbitrary name for the driver, such as DB2SampleDriver
    • Implementation class: Select com.ibm.db2.jdbc.app.DB2Driver
    • URL prefix:
      • JTA Enabled: Enter jdbc:jta:db2
        JTA Disabled: Enter jdbc:db2
    • JTA Enabled:
      • If the URL prefix is jdbc:jta:db2 - Select true
        If the URL prefix is jdbc:db2 - Select false
      * Note how you need to coordinate the entries for URL prefix and JTA Enabled.
  5. Click OK.
  6. Go to Substep 2.