JDBC Driver for SQL/MP 3.0

The JDBC
DriverManager
maintains a list of available JDBC drivers. When a program calls the
getConnection
method, the JDBC DriverManager searches this list and connects the calling program to the appropriate JDBC driver.
Loading a Driver
To load a JDBC driver, load its JDBC driver class into the Java Virtual Machine (JVM) in one of these ways:
Specify the JDBC driver class on the java command line.
Add the JDBC driver class to the jdbc.drivers property.
Load the JDBC driver class directly into the JVM.
The first two of the preceding ways enable you to change drivers without modifying your program code; the third way
does not.
The standard SQL/MP driver and the transaction-aware driver share the same code, so you use the same syntax to load
either of them.
Note: The SQL/MP driver file, com/tandem/sqlmp/SQLMPDriver.class, is stored in the JAR file
sqlmp.jar, which contains HP additions to the JVM. The SQL/MP driver file belongs to the JDBC driver
class com.tandem.sqlmp.SQLMPDriver.
This figure shows a JDBC driver class being loaded into the JVM, which already contains the JDBC DriverManager
and three databases.
Loading a JDBC Driver Class Into the JVM
Legend
1. JDBC driver class
2. Java Virtual Machine (JVM)
3. JDBC Driver Manager
4. SQL/MP database
5. Oracle database
6. JavaDB database