473,770 Members | 6,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

COM.ibm.db2.jdb c.app.DB2Driver JDBC version compatibility

I am using DB2 version 7.2 on Windows 2000. I just installed Fixpack
12 as well.

This driver is not working with a third-party software. The vendor
claims that this driver is too old. As a proof of this, the following
call is failing:

Connection.crea teStatement(Res ultSet.TYPE_FOR WARD_ONLY,
ResultSet.CONCU R
_READ_ONLY); with driver version: [07.02.0009]
major version = 7
minor version = 1
Exception in thread "main" java.lang.Abstr actMethodError:
COM.ibm.db2.jdb c.app.D
B2Connection.cr eateStatement(I I)Ljava/sql/Statement;
at TestDB2.test(Te stDB2.java:22)
at TestDB2.main(Te stDB2.java:7)

My questions are:

.. What does this imply? What version of JDBC does the above driver
implement?
.. What will it take for me to get a driver which will work with
version 7.2 and provide above functionality? I am assuming that I'd
need JDBC 2 functionality.
.. How can I get/upgrade to such a driver?
.. Or do I have to use DB2 version 8 to get this functionality?

Thanks
Nov 12 '05 #1
2 13098
In db2 udb version7.2, in order to allow the use of the Java 2 functions,
you have to run usejdbc2 ($DB2HOME/sqllib/java12) script. And you don't need
to run this script when use DB2 UDB Version8, which will support Java 2
functions by default.

"Satish Gupta" <gl**********@y ahoo.com> wrote in message
news:33******** *************** ***@posting.goo gle.com...
I am using DB2 version 7.2 on Windows 2000. I just installed Fixpack
12 as well.

This driver is not working with a third-party software. The vendor
claims that this driver is too old. As a proof of this, the following
call is failing:

Connection.crea teStatement(Res ultSet.TYPE_FOR WARD_ONLY,
ResultSet.CONCU R
_READ_ONLY); with driver version: [07.02.0009]
major version = 7
minor version = 1
Exception in thread "main" java.lang.Abstr actMethodError:
COM.ibm.db2.jdb c.app.D
B2Connection.cr eateStatement(I I)Ljava/sql/Statement;
at TestDB2.test(Te stDB2.java:22)
at TestDB2.main(Te stDB2.java:7)

My questions are:

. What does this imply? What version of JDBC does the above driver
implement?
. What will it take for me to get a driver which will work with
version 7.2 and provide above functionality? I am assuming that I'd
need JDBC 2 functionality.
. How can I get/upgrade to such a driver?
. Or do I have to use DB2 version 8 to get this functionality?

Thanks

Nov 12 '05 #2
Thanks Fan Ruo Xin!

There couldn't have been a better answer!

"Fan Ruo Xin" <fa*****@sbcglo bal.net> wrote in message news:<Zg******* *************** @newssvr28.news .prodigy.com>.. .
In db2 udb version7.2, in order to allow the use of the Java 2 functions,
you have to run usejdbc2 ($DB2HOME/sqllib/java12) script. And you don't need
to run this script when use DB2 UDB Version8, which will support Java 2
functions by default.

"Satish Gupta" <gl**********@y ahoo.com> wrote in message
news:33******** *************** ***@posting.goo gle.com...
I am using DB2 version 7.2 on Windows 2000. I just installed Fixpack
12 as well.

This driver is not working with a third-party software. The vendor
claims that this driver is too old. As a proof of this, the following
call is failing:

Connection.crea teStatement(Res ultSet.TYPE_FOR WARD_ONLY,
ResultSet.CONCU R
_READ_ONLY); with driver version: [07.02.0009]
major version = 7
minor version = 1
Exception in thread "main" java.lang.Abstr actMethodError:
COM.ibm.db2.jdb c.app.D
B2Connection.cr eateStatement(I I)Ljava/sql/Statement;
at TestDB2.test(Te stDB2.java:22)
at TestDB2.main(Te stDB2.java:7)

My questions are:

. What does this imply? What version of JDBC does the above driver
implement?
. What will it take for me to get a driver which will work with
version 7.2 and provide above functionality? I am assuming that I'd
need JDBC 2 functionality.
. How can I get/upgrade to such a driver?
. Or do I have to use DB2 version 8 to get this functionality?

Thanks

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3340
by: Raquel | last post by:
UDB PE 8.1 on Win XP. Per the manual: DB2 JDBC traces always begin with a header that lists important system information such as key environment variable settings, the JDK or JRE level, the DB2 JDBC driver level, and the DB2 build level. For example: 1 ======================================================== 2 | Trace beginning on 2002-1-28 7:21:0.19
2
9244
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered problems doing this. I wanted to implemented a generic "Helper" class like this: /** * Helper
1
7804
by: Jung | last post by:
I am trying to make connection to Content Manager. Can anyone help me how to fix this error? Thank you. Exception in thread "main" java.lang.UnsatisfiedLinkError: SQLAllocEnv at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method) at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source) at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140)...
1
4678
by: Andrea | last post by:
Hello, I spent now several hours searching the google groups without finding an solution. I am kind of Newbie to DB2 and JSP and therefore working with JSP4Dummies (not sure whether I should recommend this book): Invoking the following jsp-file in the browser I get an ClassNotFoundException for the COM.ibm.db2.jdbc.app.DB2Driver. JSP-File
8
16596
by: deegs_ca | last post by:
So I had my jdbc db28.2 fix pack 9 client running because I had taken the jars from <DB2ROOT>/java folder from Enterprise Edition 8.2 fix pack 9, db2java.zip, db2jcc.zip, and the license jar. Using these everything works. But then I wanted to make sure that I was using the redistributable jars (type 4 ) available from ibm.com. So I downloaded them from ibm. But they blow up in my face.... I'm using db2jcc.jar and the license file...
2
9686
by: Hans Horn | last post by:
Folks, I just upgraded to ESE UDBv91 (from v82) and found that there's no COM.ibm.db2.jdbc.net.DB2Driver in db2java.zip anymore. the only one that's there is the COM.ibm.db2.jdbc.app.DB2Driver All my projects croake coz of this. Did ibm pull the jdbc net driver? if yes, what's to be used instead? Also, I noticed that there's no JDBC applet service anymore!
2
5969
by: %NAME% | last post by:
(Thanks to Bernd, Ian, Phil last time for their detailed answers last time) Now I try to call JDBC driver without giving the username and password as they suggested. I am using DB2 jdbc on SunOS 5.8 with db2 version 7.2.0. When I am using the type2 network driver (COM.ibm.db2.jdbc.net.DB2Driver) with username and password, everything is fine. However, when I use the application driver: (COM.ibm.db2.jdbc.app.DB2Driver), and call...
4
5100
by: %NAME% | last post by:
I am using jdbc type2 connection via "COM.ibm.db2.jdbc.app.DB2Driver", on Solaris I first get this error when it tries to load the native implementation: java.sql.SQLException: java.lang.UnsatisfiedLinkError: Can't load Sparc 32-bit .so on a Sparc v9 64-bit platform at COM.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:240)
3
22839
by: Anoop | last post by:
Is it true that there are no type 4 jdbc drivers to connect to a DB2 server v7.1? The DB2 server is hosted on ACF2 (OS/390). We would be connecting from windows and solaris boxes. If it is true, what are my options? Will I have to install db2 connect on every client machine that needs to connect to the DB2 servers? Is the DB2 Connect freely available or will we have to purchase it? I have also read on this group that we can install DB2...
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10225
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10001
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.