Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

18.2 Database connection using the DriverManager class

The procedure for connecting from the DriverManager class to HiRDB and generating an instance of the Connection class is as follows:

  1. Register the Driver class into the Java Virtual Machine.
  2. Set the connection information in the arguments, and use the getConnection method of the DriverManager class to connect to HiRDB.
Organization of this section
18.2.1 Registering the Driver class
18.2.2 Connecting to HiRDB with the getConnection method