1

 

Adding JDBC Drivers

 

 

 


Before you can create a JDBC data source, you must add a JDBC driver. To add a new JDBC driver, click the Add Driver button which opens the Add JDBC Driver dialog.

Figure 9: Add JDBC Driver Dialog


Java Class Name for Driver. Enter the name of the Java class for the JDBC driver you want to add. For example, to add an Oracle JDBC driver, enter oracle.jdbc.driver.OracleDriver as the class name. Please refer to your JDBC driver documentation for the correct driver name to use. This is the complete name of the Java class implementing the JDBC driver. If your documentation says something like "register the JDBC driver with the following call:"

DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

Take the class name located above beteen the "new" and the "()" and use this as the Java class name.