Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Driver for JDBC User's Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 Using the HP Driver for JDBC

Loading the HP Driver for JDBC

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The Java method that is used to load all JDBC drivers is the class.forName method. To load the HP Driver for JDBC, the code is:

class.forName("com.hp.jdbc.allbase.JdbcDriver");

This loads the HP Driver for JDBC and registers it with the JDBC Driver Manager. Once a driver has been loaded and registered with the Driver Manager, it is ready to be used to connect to a database.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.