| Modifier and Type | Field and Description |
|---|---|
protected Driver |
driver |
protected static SpyStats |
stats |
| Constructor and Description |
|---|
SpyDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
static void |
clearStats() |
Connection |
connect(String url,
Properties info) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
protected String |
getRealURL(String url) |
boolean |
jdbcCompliant() |
static void |
unregister() |
static void |
writeReport(String filename) |
static void |
writeReport(Writer out) |
public int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic Connection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic static void unregister()
public static void clearStats()
public static void writeReport(String filename) throws IOException
IOExceptionpublic static void writeReport(Writer out) throws IOException
IOExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedException