Have you tried the JT400 jdbc driver from IBM?
http://oss.software.ibm.com/developerworks/opensource/jt400/
That's the only JDBC driver I know of that works with DB2 on the AS/400. Your connection string would look then look like this:
"jdbc:as400://serverName"
and the driver class name is com.ibm.as400.access.AS400JDBCDriver
sudip shrestha wrote:
Hi !
I am trying to connect to an AS/400 DB2 via IBM DataDirect JDBC Driver....Wondering if anybody has any experience with this.
You have to specify a location and collectionId attribute. My url connection string looks like this:
"jdbc:datadirect:db2://serverName:50000;Location=nameOfDatabase;CollectionId=DEFAULT;"
--
============================================================================
Chris Egolf
http://www.ugholf.net [EMAIL PROTECTED]
============================================================================--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
