About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
Exception "No suitable driver found" when it tries to access an IBM i database
Symptom
exception "No suitable driver found" when it tries to access an IBM i database
Cause
User did not register the IBM Toolbox for Java JDBC driver with the DriverManager class
Resolving The Problem
To register the IBM Toolbox for Java JDBC driver with the DriverManager class. User need add
DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
To your programor add
com.ibm.as400.access.AS400JDBCDriver
to the JDBC.drivers property.Class.forName(new com.ibm.as400.access.AS400JDBCDriver()) does not register the JDBC driver on some JVMs. See Sun's JDBC FAQ for more details.
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Product Synonym
IBM i
AS400
Was this topic helpful?
Document Information
More support for:
IBM i
Software version:
All Versions
Operating system(s):
IBM i
Document number:
1118061
Modified date:
17 March 2020
UID
ibm11118061
Manage My Notification Subscriptions