com.ibm.db2.jdbc.app.DB2Driver
com.ibm.db2.jdbc.net.DB2Driver
I know that .app works when the client (in this case WS 3.5) and DB2 are
on the same machine and the .net one work on same or on diff and
requires db2jd to be running, but what type are they? Which is
preferred over the other?
> com.ibm.db2.jdbc.app.DB2Driver
> com.ibm.db2.jdbc.net.DB2Driver
>
> I know that .app works when the client (in this case WS 3.5) and DB2 are
> on the same machine and the .net one work on same or on diff and
> requires db2jd to be running, but what type are they? Which is
> preferred over the other?
the .app driver needs some native code on the local machine, the .net
driver is pure java.
should be type 3 for .app and type 4 for .net
preferred ? depends. the .app is somewhat faster, the .net more
portable.
bernd
--
the DB2 faq: http://www.harddiskcafe.de/db2faq/index.html
> Huh? IBM claims they don't make a type 4 driver for DB2...
ok, .net should be type 3 and .app should be type 2.
http://java.sun.com/products/jdbc/driverdesc.html
didn't ever thinked about the differences because we're using the
.net driver only
-r