Constructor and Description |
---|
Driver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(String url)
returns true if the driver can accept the url.
|
Connection |
connect(String url,
Properties props)
Connect to the given connection string.
|
int |
getMajorVersion()
gets the major version of the driver.
|
int |
getMinorVersion()
gets the minor version of the driver.
|
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info)
get the property info.
|
boolean |
jdbcCompliant()
checks if the driver is jdbc compliant (not yet!).
|
static void |
unloadDriver() |
public static void unloadDriver()
public Connection connect(String url, Properties props) throws SQLException
the properties are currently ignored
connect
in interface Driver
url
- the url to connect toSQLException
- if it is not possible to connectpublic boolean acceptsURL(String url)
acceptsURL
in interface Driver
url
- the url to testpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo
in interface Driver
url
- the url to get properties forinfo
- the info propsSQLException
- if there is a problem getting the property infopublic int getMajorVersion()
getMajorVersion
in interface Driver
public int getMinorVersion()
getMinorVersion
in interface Driver
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface Driver
SQLFeatureNotSupportedException
Copyright © 2016. All rights reserved.