Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

17.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
17.2.1 Registering the Driver class
17.2.2 Connecting to HiRDB with the getConnection method