| 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!).
|
public Connection connect(String url, Properties props) throws SQLException
connect in interface Driverurl - the url to connect toSQLException - 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 DriverSQLFeatureNotSupportedExceptionCopyright © 2019 mariadb.org. All rights reserved.