469,883 Members | 1,093 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,883 developers. It's quick & easy.

COM.ibm.db2.jdbc.net.DB2Driver

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

Similar topics

reply views Thread by Raquel | last post: by
2 posts views Thread by Kent Lewandowski | last post: by
1 post views Thread by Andrea | last post: by
8 posts views Thread by deegs_ca | last post: by
2 posts views Thread by %NAME% | last post: by
3 posts views Thread by Anoop | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.