Migrating Classes

Introduction

Version 1.2 of the wizard introduced JDBC2 classes. Class migration is a one way process, which allows JDBC1 classes in the wizard to be migrated to become JDBC2 classes. Once migrated the classes are no longer JDBC1 classes: classes are moved, not copied.

Considerations

JDBC2 classes have some differences to JDBC1 generated classes. The code which uses JDBC1 classes should be reviewed to ensure no migration problems will occur.

It is recommended that you create new JDBC2 classes and acquaint yourself with a few. Then when it comes to migration it is easier to understand what problems may or may not occur.

Migrating

The first step is to select which classes to migrate.

Next the JDBC2 settings are set. These settings apply to all the classes which are migrated.

Finally, the classes are migrated.