Unix Technical Forum

COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility

This is a discussion on COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility within the DB2 forums, part of the Database Server Software category; --> I am using DB2 version 7.2 on Windows 2000. I just installed Fixpack 12 as well. This driver is ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 06:20 PM
Satish Gupta
 
Posts: n/a
Default COM.ibm.db2.jdbc.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.createStatement(ResultSet.TYPE_FORWARD_ ONLY,
ResultSet.CONCUR
_READ_ONLY); with driver version: [07.02.0009]
major version = 7
minor version = 1
Exception in thread "main" java.lang.AbstractMethodError:
COM.ibm.db2.jdbc.app.D
B2Connection.createStatement(II)Ljava/sql/Statement;
at TestDB2.test(TestDB2.java:22)
at TestDB2.main(TestDB2.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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 06:20 PM
Fan Ruo Xin
 
Posts: n/a
Default Re: COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility

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" <globetrotcom@yahoo.com> wrote in message
news:3316c084.0406100932.52f64796@posting.google.c om...
> 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.createStatement(ResultSet.TYPE_FORWARD_ ONLY,
> ResultSet.CONCUR
> _READ_ONLY); with driver version: [07.02.0009]
> major version = 7
> minor version = 1
> Exception in thread "main" java.lang.AbstractMethodError:
> COM.ibm.db2.jdbc.app.D
> B2Connection.createStatement(II)Ljava/sql/Statement;
> at TestDB2.test(TestDB2.java:22)
> at TestDB2.main(TestDB2.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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 06:22 PM
Satish Gupta
 
Posts: n/a
Default Re: COM.ibm.db2.jdbc.app.DB2Driver JDBC version compatibility

Thanks Fan Ruo Xin!

There couldn't have been a better answer!

"Fan Ruo Xin" <fanruox@sbcglobal.net> wrote in message news:<Zg8yc.23106$eH1.10167253@newssvr28.news.prod igy.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" <globetrotcom@yahoo.com> wrote in message
> news:3316c084.0406100932.52f64796@posting.google.c om...
> > 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.createStatement(ResultSet.TYPE_FORWARD_ ONLY,
> > ResultSet.CONCUR
> > _READ_ONLY); with driver version: [07.02.0009]
> > major version = 7
> > minor version = 1
> > Exception in thread "main" java.lang.AbstractMethodError:
> > COM.ibm.db2.jdbc.app.D
> > B2Connection.createStatement(II)Ljava/sql/Statement;
> > at TestDB2.test(TestDB2.java:22)
> > at TestDB2.main(TestDB2.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com