com.jdbwc.core
Class Driver

java.lang.Object
  extended by com.jdbwc.core.WCDriver
      extended by com.jdbwc.core.Driver
All Implemented Interfaces:
java.sql.Driver

public class Driver
extends WCDriver

Required JDBC-API implementation for java.sql.Driver.

Its advised to keep this class as small as possible to reduce memory footprint size when the Driver is registered with the JRE (before use).
Once the Driver is put into use it will use the methods in WCDriver to determine suitability for a given URL and start a connection if the Driver is suitable.
Normally the methods in WCDriver would be in this class but were migrated to reduce the standby footprint size..

Version:
2008-05-29
Author:
Tim Gall (Oz-DevWorX)

Constructor Summary
Driver()
          Construct a new driver instance for Class.forName().newInstance()
 
Method Summary
 
Methods inherited from class com.jdbwc.core.WCDriver
acceptsURL, connect, getMajorVersion, getMinorBuild, getMinorVersion, getPropertyInfo, getVersionName, getVersionString, jdbcCompliant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Driver

public Driver()
       throws java.sql.SQLException
Construct a new driver instance for Class.forName().newInstance()

Throws:
java.sql.SQLException - if a database error occurs.