Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / February 2007

Tip: Looking for answers? Try searching our database.

COM.ibm.db2.jdbc.net.DB2Driver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hans Horn - 03 Feb 2007 22:10 GMT
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!

anybody has got any leads?
thx,
H.
Phil Sherman - 04 Feb 2007 03:02 GMT
I hadn't noticed that it wasn't included with V9 because, starting with
at least V8, the unified driver is the recommended one to use. This
driver will work with BOTH local connections and with network
connections. The following code snippet is from a program I'm working on.

   dbMgr = "com.ibm.db2.jcc.DB2Driver";    // db2 universal Java
   dbConn= "jdbc:db2:SAMPLE";        // CLI connection
   dbConn= "jdbc:db2://127.0.0.1:50000/SAMPLE";    // TCP connection

You're correct that there is no applet service any more. You connect on
the TCP/IP port (SVCENAME) that is used by the instance. Don't forget to
set DB2COMM=tcpip in the db2 registry (db2set command).

Phil Sherman

> Folks,
>
[quoted text clipped - 9 lines]
> thx,
> H.
Hans Horn - 05 Feb 2007 09:11 GMT
Thx Phil,
that worked...
H.

>I hadn't noticed that it wasn't included with V9 because, starting with at
>least V8, the unified driver is the recommended one to use. This driver
[quoted text clipped - 24 lines]
>> thx,
>> H.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.