com.ibm.db2.jcc.DB2DriverYou must have the following two jar files present in your classpath in order to use the DB2 Universal Driver:
The syntax of the URL that is required to access the Network Server is:
jdbc:derby:net://<server>[:<port>]/
<databaseName>[;<Derby URL attribute>=<value> [;...]]
[:<Universal Driver attribute>=<value>; [...;]]
After you specify the database name and attributes, you can include attributes for the DB2 JDBC Driver. You must include a semicolon after the last Universal Driver attribute.
Optional database connection URL attributes that are supported by the DB2 Universal JDBC Driver.
The DB2 JDBC Universal Driver requires that you set the Universal Driver user and password attributes to non-null values.
The following DB2 Universal JDBC Driver attributes are available to you when running the Network Server:
User name (required by the Universal JDBC Driver).
User password (required by the Universal JDBC Driver).
The TCP/IP port number where the Network Server listens for connection requests to this data source. The default is 1527.
Displays error messages from the server.
Creates a read-only connection. The default is false.
A character output stream. All logging and tracing messages print to the logWriter property.
Specifies the granularity of logging messages to the logWriter property.
Provides an explicit file location for the trace output.
Indicates what type of security mechanism is used.
Controls when prepared statements are physically prepared in the database server. The default value is true.
The Derby Network Server is compatible with the DB2 JDBC Universal Driver release 2.4 and higher.