DriverManager.registerDriver

Class Overview | Class Members | This Package | All Packages

Syntax

public static synchronized void registerDriver( Driver driver ) throws SQLException

Parameters
  • driver
    the new JDBC Driver
Description

A newly loaded driver class should call registerDriver to make itself known to the DriverManager.

Exceptions

SQLException if a database-access error occurs.