An application using a JDBC Type 4 driver does not need to interface with a DB2 client for connectivity because this driver comes with Distributed Relational Database Architecture™ Application Requester (DRDA® AR) functionality built into the driver. The implementation class name for this type of driver is com.ibm.db2.jcc.DB2Driver. Connecting Sqoop to IBM DB2. Dtraver created Aug 03, 2016 at 05:45 PM. Com.ibm.db2.jcc.DB2Driver at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:856). Download the proper IBM DB2 JDBC Driver for the DB2 version/FP level gathered on Step #1. Virtual on operation moongate cd iso download.
Where do I download JDBC drivers for DB2 that are compatible with JDK 1.5? They seem to be very elusive and I hit many dead-ends at IBM's website. I managed to find versions of the driver bundled with some tools such as IBM Data Studio. Unfortunately, these versions either target a JVM too modern (JDK 1.6, leading to class version errors) or too ancient (JDK 1.2, leading to known bugs when run on JDK 1.5).
Adam PaynterAdam Paynter
4 Answers
I know its late but i recently ran into this situation. After wasting entire day I finally found the solution. I am suprised that I got this info on oracle's website whereas this seems nowhere to be found on IBM's website.
If you want to use JDBC drivers for DB2 that are compatible with JDK 1.5 or 1.4 , you need to use the jar
db2jcc.jar
, which is available in SQLLIB/java/
folder of your db2 installation.Mustafa sabirMustafa sabir
java acmjava acm
Com.ibm.db2.jcc.db2driver Jar Free Download
Right here: http://jt400.sourceforge.net/
This is what I use for that exact purpose.
EDIT: Usage Examples (minus exceptions):
Hope that helps!
BenColeBenCole
you can download and install db2client and looking for - db2jcc.jar - db2jcc_license_cisuz.jar - db2jcc_license_cu.jar - and etc.at C:Program Files (x86)IBMSQLLIBjava
Fuangwith S.Fuangwith S.
Not the answer you're looking for? Browse other questions tagged jdbcdb2 or ask your own question.
Home » Eclipse Projects » DTP » Can't get JDBC connection to DB2Db2 Jcc Driver
(JDBC error connecting to DB2 V9.5.2 in Eclipse)Show:Today's Messages::Show Polls::Message Navigator |
Db2 9.1 Jdbc Driver Download
| |||||||
| |||||||
| |||||||
|
Previous Topic: | Can't get JDBC connection to DB2 |
Next Topic: | getting raw oracle sql explain plan? |
[ Syndicate this forum (XML) ] [ ]
Powered by FUDForum. Page generated in 0.02307 seconds