Joe Sam Shirah skrev den 19-11-2007 00:20:
So I have to at least wonder if standard JDBC calls are natively
optimized in the resident case. I would appreciate it if anyone else can
point to documentation and/or code to support that the driver *does* switch
to native when AS/400 resident.
I am not certain if this is what you are asking but I just looked in the source for JtOpen 5.0, and it appears that the code to determine whether to use the com.ibm.db2.jdbc.app.DB2Driver or the toolbox one is located in the method in AS400JDBCDriver.java line 980

private Connection initializeConnection (JDDataSourceURL dataSourceUrl, JDProperties jdProperties, Properties info)

Basically the native driver must be available and a _LOT_ of conditions be fulfilled.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.