Obtain and Install Drivers for DB2
Includes, DB2 LUW (Linux, UNIX, Windows). For JDBC 3.0 and earlier, you can use the db2jcc.jar or db2jcc4.jar file. For JDBC 4.0
To obtain and install JDBC drivers for DB2
| 1. | Get the JAR files for your version of DB2 from its installation directory. |
|
JAR File |
Version of DB2 |
|
db2jcc.jar or db2jcc4.jar |
V10 (Type 4) |
|
db2jcc_license_cu.jar |
|
|
common.jar |
|
|
db2jcc4.jar |
|
|
db2jcc_license_cisuz.jar |
|
|
db2jcc4.jar |
V10.5 Type 4 |
| 2. | Put them in the appropriate TDV installation directory: |
|
DB2 Version |
Directory Location |
|
<TDV_install_dir>\conf\adapters\system\db2_v9_type2 <TDV_install_dir>\conf\adapters\system\db2_v9_type_4 |
|
|
<TDV_install_dir>\conf\adapters\system\db2_z_os_type_4 |
|
|
DB2 V10 (Type 4) |
<TDV_install_dir>\conf\adapters\system\db2_v10_type_4 |
The JDBC driver in db2java.zip is the same as the fix pack in DB2.
| 3. | Restart the TDV Server. |