|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mariadb.jdbc.Driver
public final class Driver
| Constructor Summary | |
|---|---|
Driver()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Driver()
| Method Detail |
|---|
public static void unloadDriver()
public Connection connect(String url,
Properties props)
throws SQLException
the properties are currently ignored
connect in interface Driverurl - the url to connect to
SQLException - if it is not possible to connectpublic boolean acceptsURL(String url)
acceptsURL in interface Driverurl - the url to test
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
getPropertyInfo in interface Driverurl - the url to get properties forinfo - the info props
SQLException - 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 Driver
public Logger getParentLogger()
throws SQLFeatureNotSupportedException
SQLFeatureNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||