Driver Class Name
You must register the JD Edwards EnterpriseOne JDBC driver class name with the JDBC Driver Manager before attempting to use the driver. You register the JD Edwards EnterpriseOne JDBC driver using Class.forName. The following table shows the Type 3 and Type 4 JDBC driver class names.
JDBC Driver |
Class Name |
---|---|
Type 3 JDBC Driver |
com.jdedwards.jdbc.driver.Driver |
Type 4 JDBC Driver |
com.jdedwards.jdbc.driver.JDBCDriver |
The following table provides example registrations for the Type 3 and Type 4 JDBC drivers:
JDBC Driver Type |
Example Registration |
---|---|
Type 3 JDBC Driver |
Class.forName("com.jdedwards.jdbc.driver.Driver") |
Type 4 JDBC Driver |
Class.forName("com.jdedwards.jdbc.driver.JDBCDriver') |
Some environments provide alternate mechanisms for registering JDBC drivers.