DB2 Version 9.7 for Linux, UNIX, and Windows

Upgrading Java applications that use DB2 JDBC Type 2 driver

The DB2® JDBC Type 2 driver is deprecated. Although your Java™ applications that use the DB2 JDBC Type 2 driver will function successfully with DB2 Version 9.7, upgrading those applications to the IBM® Data Server Driver for JDBC and SQLJ as soon as possible will help you to avoid lack of support in future releases.

About this task

Restrictions

Before you begin

Procedure

To upgrade your Java database applications to DB2 Version 9.7:

  1. Install the IBM Data Server Driver for JDBC and SQLJ.
  2. Update your Java applications to use the IBM Data Server Driver for JDBC and SQLJ.
  3. Review the information in the following topics to identify behavioral differences between drivers that might impact your Java application:
  4. Modify your Java applications to resolve any issues created by the behavioral differences that you identified in the previous step. These changes might include modifying existing method calls and removing the use of unsupported functionality in DB2 Version 9.7.
  5. If you changed your Java application source code in any of the previous steps, rebuild your Java applications. Refer to one of the following tasks for details on how to rebuild them:

What to do next

After upgrading your Java applications, perform the remaining steps in the upgrading database applications task.