Previous Topic: Other Timeouts for JDBC ProxyNext Topic: JDBC URL Format for a DriverManager Connection


DriverManager

The JDBC DriverManager class is the traditional management layer of JDBC used to keep track of the available drivers. It is used to establish a connection between a JDBC application and the appropriate driver, in this case, the CA Datacom Server JDBC driver.

The DriverManager.getConnection method establishes a connection to CA Datacom/DB. Before calling the DriverManager.getConnection method, the CA Datacom Server JDBC driver class must be loaded by calling the method Class.forName. The name of the CA Datacom Server JDBC driver is "ca.datacom.jdbc.DatacomJdbcDriver". The following code loads the class ca.datacom.jdbc.DatacomJdbcDriver:

Class.forName("ca.datacom.jdbc.DatacomJdbcDriver");