Copyright © 2001 Qusay H. Mahmoud
A new JDBC driver
lExample Driver:
lclass MyDriver implements Driver {
l   static {
l      new MyDriver();
l    }
l   MyDriver() {
l       DriverManager.registerDriver(this);
l}
lNote: A properly written driver must have a static initializer that causes an instance of the driver to be registered when the driver is loaded
l