| 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 info)
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 Connection connect(String url, Properties info) throws SQLException
connect in interface Driverurl - the url to connect toinfo - the properties of the connection - ignored at the momentSQLException - if it is not possible to connectpublic boolean acceptsURL(String url)
acceptsURL in interface Driverurl - the url to testpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface Driverurl - the url to get properties forinfo - the info propsSQLException - if there is a problem getting the property infopublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic static void unloadDriver()
Copyright © 2014. All rights reserved.