I will keep looking. After wasting entire day I finally found the solution. Sign up or log in Sign up using Google. Under its java directory, I found db2jcc. In other words, you have to have a DB2 client installed on the machine where the application that is making the JDBC calls runs.
|Date Added:||25 July 2005|
|File Size:||54.72 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Do you have any examples of how I use that driver to connect? I managed to gain access to the DB2 server more specifically: The implementation jjcc name for this type of driver is com.
In other words, you have to have a DB2 client installed on the machine where the application that is making the JDBC calls runs. Under its java directory, I found db2jcc. It doesn’t seem to have the traditional com.
It is JDBC 1. This driver’s implementation uses a Java layer that is bound to the native platform C libraries. They’re not all downloadable for license reasons.
Usage Examples minus exceptions: I am suprised that I got this info on oracle’s website whereas this seems nowhere to be found on IBM’s website. But that may have changed nowadays.
Connecting to DB2
Post as a guest Name. The latest version of this driver 9.
Maven Repository: » db2jcc4 »
The app driver name comes from the notion that this driver will perform a native connect through a local DB2 client to a remote database, and from its package name COM. I will keep looking. I know its late but i recently ran into this situation.
I found that 3. Mustafa sabir 3, 1 8 Sign up or log in Sign up using Google. Ask your DB admin to have a copy of them if you don’t have direct access to the machine where DB2 runs. After wasting entire day I finally found the solution. BenCole 1, 2 13 This driver was designed to enable Java applets to access DB2 data sources. For more information see http: Sign up using Email and Password.
Note that the target database must be set up such that it accepts incoming SSL connections. They seem to be very elusive and I hit many dead-ends at IBM’s website.
JDBC3 should be 1. On a command prompt with Java 1.