db2java.zip 
Author Message
 db2java.zip
Suppose I installed a FixPack6's JDBC driver and constructed a
datasource to use this driver.  I then load the app server's classpath
with FixPack7's JDBC driver.  When I connect to a connection from this
datasource, which version of the driver is used by my code?

Thanks in advance,



Mon, 18 Jul 2005 04:16:40 GMT
 db2java.zip


Quote:
> Suppose I installed a FixPack6's JDBC driver and constructed a
> datasource to use this driver.  I then load the app server's classpath
> with FixPack7's JDBC driver.  When I connect to a connection from this
> datasource, which version of the driver is used by my code?

> Thanks in advance,

When you connect to the datasource, java will attempt to find a registered
driver (loaded from the classpath) that can connect to the url.  So, for
your case, it'll be the Fixpak 7's JDBC driver.
However, be very careful not to mismatch JDBC driver levels with your
runtime client level. If you're using Fixpak 7 then you need to use the
Fixpak 7's JDBC driver.  Changing the classpath to point to another JDBC
driver can lead to unpredictable results.

-Michael



Wed, 20 Jul 2005 22:30:13 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Corrupted ResultSet with db2java.zip Driver on AIX41

2. CLASSPATH problem to find db2java.zip

3. db2java.zip crash on OS/2 (COM.ibm.db2.jdbc.app.DB2Driver)

4. JAVADOC for db2java.zip V7

5. (db2java.zip) versions do not match

6. Where do I put the db2java.zip for Java Servlets.

7. Find zip codes (and things with zip codes) within a radius of a zip code

8. Help finding SAL.ZIP & MPI_PS.ZIP

9. JDBC: select statements causing errros when using classes12.zip but not when using classess111.zip

10. ZIP (A10) to ZIP (A5) and +4 (A4)

11. Table Structure Enumerator (add on for DELIVERY.ZIP) - structer.zip (0/1)

12. 04:Re: Zip Codes - zips.exe (8/8)


 
Powered by phpBB® Forum Software