Chapter 9. Accessing relational databases from WebSphere 359
Figure 9-5 Define a new JDBC provider - Window 2
Enter the JDBC provider properties:
– Class path
This field is a list of paths or JAR file names that together form the location for the
resource provider classes. This field is pre-set using variable names that are specific to
each type of provider. If you are creating a user-defined provider, specify the entries by
pressing Enter between each entry.
The remaining properties are dependent on the type of provider. They represent the
variables that are used in the class path and their value. If you enter a value for a variable
on this window, the corresponding variables are populated automatically with these
values. Conversely, if the variables are already defined, these fields are populated with the
variables.
You can view or modify the variables by clicking Environment WebSphere Variables
in the navigation menu.
Because this example is for DB2, the following fields are available:
– Path to db2jcc.jar, db2jcc_license_cisuz.jar
This field specifies the values for the global variable
DB2UNIVERSAL_JDBC_DRIVER_PATH, which indicates the class path jar’s location.
– Native Library Path
This field is an optional path to any native libraries. Entries are required if the JBDC
provider chosen uses non-Java, or native, libraries. The global variable for this is
UNIVERSAL_JDBC_DRIVER_NATIVEPATH.
Click Next.
8. After verifying the settings, click Finish.