Chapter 1. Config the DB2 JDBC
Add DB2 JDBC Driver
Add DB2 JDBC Driver
Before do export operation from dBASE, Foxbase, Foxpro, and VFP database
to the DB2 database, you should assign the DB2 Database JDBC driver
path and set the driver class. If you have done this operation before prior
export operation, you can skip this step.
- Click the Start menu and select the "JDBC Driver
Config" from the menus.
- In the Driver Name textbox, you should input the
jdbc description for identity this JDBC Driver, for example, Oracle 8i JDBC.
You can assign the name at your will, except it can't contain the '/'
character, and it should not equal the "Add A New Config" (which
is contained by Data Export 2007), and it must be different to the other driver name existed in your
In the JDBC Package List, it shows the jdbc
package files which this JDBC Driver uses. It is controled by Add Package
and Remove Package buttons. For example, you click Add Package button, it
will show a File Chooser dialog for select the JDBC package files
After you select the JDBC package files, (by the way, here you can select multi files at this file chooser
dialog), the JDBC package files will automatic added the JDBC Package list,
and the JDBC Driver class contained in the packages will automatic added to
the Driver Class List
Select one class to act as the Driver class for
build database connection when do export operation. You can see the Driver
Class is changed to the item selected in the driver Class List.
Click the Save Config button, if you see the text in JDBC Driver
ComboBox changed to the text you inputed at the Driver Name TextBox, it shows
the JDBC Driver Config saved successly.
Some errors maybe happens when you do the JDBC Driver Config. The
followed pictures show some common reasons for errors.
- Have not assign the Driver Name.
- Assigned a Driver Name which have existed in your system.
- Have not assign the JDBC Packages
- Have not assign the JDBC Driver Class
Copyright © 2006 Hongxin Technology & Trade Ltd. | All Rights Reserved. |