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.