dcsimg
Toolbox driver vs native IBM driver
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   gio_per
Posted On:   Tuesday, April 10, 2001 07:06 AM

My program works fine from winNT and on the AS/400 using the Toolbox driver( com.ibm.as400.access.AS400JDBCDriver). However, it doesn't work using the native driver (com.ibm.db2.jdbc.app.DB2Driver). What did I miss?

Re: Toolbox driver vs native IBM driver

Posted By:   Anonymous  
Posted On:   Wednesday, April 25, 2001 02:38 AM

I can't be sure from the information given, but the most likely cause is that not only the driver class but also the JDBC database URL is different for the two drivers. For the Toolbox driver, use:

jdbc:as400://MACHINENAME/COLLECTIONNAME


For the native driver, use:


jdbc:db2:localhost/COLLECTIONNAME
About | Sitemap | Contact