|
Step 4: Create a DataSource Object
Substep 1: Create a JDBC Driver
- In the IBM WebSphere Application Server Administrative Console, select the Types view.
- Right-click JDBCDrivers.
- From the pop-up menu, select Create.
- 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.
- Click OK.
- Go to Substep 2.
|