com.jdbwc.core
Class WCDriver
java.lang.Object
com.jdbwc.core.WCDriver
- All Implemented Interfaces:
- java.sql.Driver
- Direct Known Subclasses:
- Driver
public class WCDriver
- extends java.lang.Object
- implements java.sql.Driver
Required JDBC-API implementation for java.sql.Driver.
This class provides the functionality for com.jdbwc.core.Driver
NOTE: The methods in this class were migrated out of com.jdbwc.core.Driver
class to reduce the standby memory footprint size of Driver.
- Version:
- 2008-05-29, 2010-04-09
- Author:
- Tim Gall (Oz-DevWorX)
Constructor Summary |
WCDriver()
Required constructor for Class.forName().newInstance() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WCDriver
public WCDriver()
- Required constructor for Class.forName().newInstance()
acceptsURL
public boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
- Check if this driver supports the given url.
- Specified by:
acceptsURL
in interface java.sql.Driver
- Throws:
java.sql.SQLException
- See Also:
Driver.acceptsURL(java.lang.String)
connect
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
- Specified by:
connect
in interface java.sql.Driver
- Throws:
java.sql.SQLException
- See Also:
Driver.connect(java.lang.String, java.util.Properties)
getMajorVersion
public final int getMajorVersion()
- Specified by:
getMajorVersion
in interface java.sql.Driver
- See Also:
Driver.getMajorVersion()
getMinorVersion
public final int getMinorVersion()
- Specified by:
getMinorVersion
in interface java.sql.Driver
- See Also:
Driver.getMinorVersion()
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
- Specified by:
getPropertyInfo
in interface java.sql.Driver
- Throws:
java.sql.SQLException
- See Also:
Driver.getPropertyInfo(java.lang.String, java.util.Properties)
jdbcCompliant
public final boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interface java.sql.Driver
- See Also:
Driver.jdbcCompliant()
getMinorBuild
public final java.lang.String getMinorBuild()
getVersionName
public final java.lang.String getVersionName()
getVersionString
public final java.lang.String getVersionString()