Product Documentation

FairCom JDBC Developer's Guide

Previous Topic

Next Topic

Load the JDBC Driver Using Class.forName

The Class.forName() method takes as its argument the fully-qualified class name for the FairCom DB SQL JDBC Driver. If it finds the class, the method loads and links the class, and returns the Class object representing the class.

The fully-qualified class name for the FairCom DB SQL JDBC Driver is ctree.jdbc.ctreeDriver. To load the JDBC Driver, use it as the argument to the Class.forName() method:

// Load the driver

Class.forName ("ctree.jdbc.ctreeDriver");

TOCIndex