How to Configure IBM DB2 Data Source Drivers
Available in the Enterprise edition only.
To configure a data source for connecting to an IBM DB2 server, follow these steps:
- Go to the IBM website and in the DB2 Clients and Development Tools category select the DB2 Driver for JDBC and SQLJ download link. Fill out the download form and download the zip file.
- Unzip the downloaded archive.
- Open the Preferences dialog box and go to Data Sources.
- Click the New button in the
Data Sources panel.
The dialog box for configuring a data source is opened.
Data Source Drivers Configuration Dialog Box
- Enter a unique name for the data source.
- Select DB2 in the driver Type drop-down menu.
- Click the Add Files button and select the IBM DB2 driver files
from the archive that you downloaded and unzipped.
The IBM DB2 driver files are:
db2jcc.jar
db2jcc_license_cisuz.jar
db2jcc_license_cu.jar
- Select the most appropriate Driver class.
- Click the OK button to finish the data source configuration.
- Continue on to configure your IBM DB2 connection.To watch our video demonstration about running XQuery against an IBM DB2 Pure XML database, go to https://www.oxygenxml.com/demo/DB2.html.