By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,778 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,778 IT Pros & Developers. It's quick & easy.

COM.ibm.db2.jdbc.net.DB2Driver

P: n/a
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.
Feb 3 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

Hans Horn wrote:
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.

Feb 4 '07 #2

P: n/a
Thx Phil,
that worked...
H.

"Phil Sherman" <ps******@ameritech.netwrote in message
news:v1*******************@newssvr27.news.prodigy. net...
>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

Hans Horn wrote:
>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.
Feb 5 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.