| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
Connection |
connect(String url,
Properties info) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant() |
static Driver |
load(String name)
Loads a JDBC driver dynamically.
The name consists of the driver's classname, followed by a colon, followed by the URL to load it. Example: |
static void |
unload(Driver driver)
Unloads the driver.
|
public static Driver load(String name)
org.postgresql.Driver:jar:file:/usr/share/java/postgresql.jar!/
name - the driver classname and loading urlpublic static void unload(Driver driver)
driver - the driver previously loaded via load(String)public Connection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionpublic boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic 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 DriverSQLFeatureNotSupportedExceptionTentackle - distributed, domain- and model-driven