COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility | Bytes (2024)

Home Posts Topics Members FAQ

Satish Gupta

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

Subscribe Reply

2 COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility | Bytes (1) 13099 COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility | Bytes (2)

Fan Ruo Xin

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

Satish Gupta

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

3342

db2 jdbc trace ....

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

DB2 Database

2 9244

problem using java packages in jdbc stored procedures

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

DB2 Database

1 7804

COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(Unknown Source)

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)...

DB2 Database

1 4678

jsp - jdbc connection to db2v8 failing

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

DB2 Database

8 16596

Problems with Type 4 jdbc driver

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...

DB2 Database

2 9686

COM.ibm.db2.jdbc.net.DB2Driver

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!

DB2 Database

2 5969

jdbc username and password follow-up

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...

DB2 Database

4 5100

error on jdbc type 2 connection with native implementation

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)

DB2 Database

3 22839

JDBC type 4 driver for DB2 v7.1

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...

DB2 Database

9595

What is ONU?

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...

General

9432

Changing the language in Windows 10

by: Hystou |last post by:

Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...

Windows Server

10059

Maximizing Business Potential: The Nexus of Website Design and Digital Marketing

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...

Online Marketing

1 10008

The easy way to turn off automatic updates for Windows 10/11

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,...

Windows Server

8891

AI Job Threat for Devs

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...

Career Advice

6682

Couldn’t get equations in html when convert word .docx file to html file in C#.

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();...

C# / C Sharp

5313

Trying to create a lan-to-lan vpn between two differents networks

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...

Networking - Hardware / Configuration

2 3578

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

3 2822

Comprehensive Guide to Website Development in Toronto: Expert Insights from BSMN Consultancy

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...

General

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

To disable or enable advertisem*nts and analytics tracking please visit the page.

COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6274

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.