Ibm Db2 Universal Jdbc Driver

  1. The most recent step in the evolution of Java development in the DB2 environment is the DB2 UDB JDBC Universal Driver. This new driver offers many advantages and improvements that make it the optimal choice for application development.
  2. Jun 11, 2013  I am posting to this thread because it is mentioned in IBM's list of JDBC driver versions (document reference 1363866). That document is actively maintained by IBM, and I reference it often, but it is missing an important piece of information that would greatly assist DB2 administrators.
  3. The most recent step in the evolution of Java development in the DB2 environment is the DB2 UDB JDBC Universal Driver. This new driver offers many advantages and improvements that make it the optimal choice for application development.

Question & Answer


Question

IBM Data Server driver for JDBC and SQLJ(JCC) has both db2jcc.jar and db2jcc4.jar. What is the difference between those 2 files, db2jcc.jar and db2jcc4.jar?

Answer

Both of them are DB2 JDBC driver jar files and are Type 4 drivers.
db2jcc.jar includes functions in the JDBC 3.0 and earlier specifications. If you plan to use those functions, include the db2jcc.jar in the application CLASSPATH.

DRIVER CLASS: COM.ibm.db2.jdbc.net.DB2Driver DRIVER LOCATION: The DB2 Net drivers can be obtained by installing the DB2 client software from IBM. Depending on the version of the client software, the net drivers are usually contained in the db2java.zip file. DRIVER CLASS: COM.ibm.db2.jdbc.net.DB2Driver DRIVER LOCATION: The DB2 Net drivers can be obtained by installing the DB2 client software from IBM. Depending on the version of the client software, the net drivers are usually contained in the db2java.zip file.

The IBM Data Server Driver for JDBC and SQLJ package includes two JDBC drivers: db2jcc.jar - This driver is based on the JDBC 3 specification db2jcc4.jar - This driver is based on the JDBC 4 or later specifications The db2jcc.jar driver is now deprecated.

db2jcc4.jar includes functions in JDBC 4.0 and later, as well as JDBC 3.0 and earlier specifications. If you plan to use those functions, include the db2jcc4.jar in the application CLASSPATH.

Internal Use Only

This technote was generated by Technote Kickstart 1.1.0.43 based on Information Management PMR 23796,7TD,000.
View the associated PMR's text via Wellspring at: http://eclient.lenexa.ibm.com:9082/DocFetcher/source/PMR/23796.7TD.000%20O14/02/10

Related URL

[{'Product':{'code':'SSEPGG','label':'DB2 for Linux- UNIX and Windows'},'Business Unit':{'code':'BU001','label':'Analytics Private Cloud'},'Component':'Database Objects/Config - Database','Platform':[{'code':'PF002','label':'AIX'},{'code':'PF010','label':'HP-UX'},{'code':'PF016','label':'Linux'},{'code':'PF027','label':'Solaris'},{'code':'PF033','label':'Windows'}],'Version':'9.7;9.5;10.1;10.5;11.1','Edition':'}]

Document Information

Modified date:
16 June 2018

Active2 years, 6 months ago

I need to connect to remote DB2 from local SQL Server 2008 R2. I don't want to use linked servers. So I am searching for download and trying to install IBM DB2 driver, as Microsoft ODBC driver for DB2 comes with Host Integration Server is expensive.

putvande
13.3k3 gold badges25 silver badges47 bronze badges
ChowChow

3 Answers

Ibm db2 universal jdbc driver free

You can download DB2 clients for your DB2 version from here: http://www-01.ibm.com/support/docview.wss?uid=swg27007053

Client software is free.

mustacciomustaccio
15.1k9 gold badges41 silver badges44 bronze badges

Ms dos 5.0 free download. The below link has a step by step guide that worked well for me

CidCid
1,1881 gold badge14 silver badges35 bronze badges

Both answers are correct, but only have the links to were the answers are.

Ibm Db2 Driver Odbc

  1. download the correct driver (called fix pack most of the time) you need from IBM
  2. extract the contents of the zip file to c:program filesIBM , I unzipped it in c:program filesIBMclidriver
  3. open a command prompt as administrator and change to the directory you just created and then go in the bin folder
  4. execute the following commands to install and register the odbc drivers

  5. check your odbc manager if the drivers are installed, this is depending on the version you selected (32 bit or 64 bit)

for the 32 bit version open your odbc data sources 32 bit otherwise open the odbc data sources 64 bit.

To open odbc data sources in windows versions 7 upwards

  1. press the windows key
  2. type odbc
  3. click on the version you need (32 bit or 64 bit)

Ibm Db2 Universal Jdbc Driver Manual

davejaldavejal

Ibm Db2 Universal Jdbc Driver Windows 7

4,6129 gold badges26 silver badges60 bronze badges

Db2 Jdbc Drivers

Not the answer you're looking for? Browse other questions tagged sql-serverdb2odbcdriver or ask your own question.