public static class Testmdb.Driver
extends java.lang.Object
implements java.sql.Driver
Constructor and Description |
---|
Driver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(java.lang.String url)
Check if the driver understands this URL.
|
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info) |
int |
getMajorVersion()
Get the major version number of the driver.
|
int |
getMinorVersion()
Get the minor version number of the driver.
|
java.util.logging.Logger |
getParentLogger()
[Not supported]
|
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
Get the list of supported properties.
|
boolean |
jdbcCompliant()
Check if this driver is compliant to the JDBC specification.
|
static Testmdb.Driver |
load()
INTERNAL
|
static void |
unload()
INTERNAL
|
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
connect
in interface java.sql.Driver
java.sql.SQLException
public boolean acceptsURL(java.lang.String url)
acceptsURL
in interface java.sql.Driver
url
- the database URLpublic int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
getPropertyInfo
in interface java.sql.Driver
url
- the database URLinfo
- the connection propertiespublic boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
public java.util.logging.Logger getParentLogger()
getParentLogger
in interface java.sql.Driver
public static Testmdb.Driver load()
public static void unload()