| Constructor and Description |
|---|
JDBC() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
Connection |
connect(String url,
Properties info) |
static Connection |
createConnection(String url,
Properties prop)
Creates a new database connection to a given URL.
|
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
static boolean |
isValidURL(String url)
Validates a URL
|
boolean |
jdbcCompliant() |
public static final String PREFIX
public int getMajorVersion()
getMajorVersion in interface DriverDriver.getMajorVersion()public int getMinorVersion()
getMinorVersion in interface DriverDriver.getMinorVersion()public boolean jdbcCompliant()
jdbcCompliant in interface DriverDriver.jdbcCompliant()public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic boolean acceptsURL(String url)
acceptsURL in interface DriverDriver.acceptsURL(java.lang.String)public static boolean isValidURL(String url)
url - public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionDriver.getPropertyInfo(java.lang.String, java.util.Properties)public Connection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionDriver.connect(java.lang.String, java.util.Properties)public static Connection createConnection(String url, Properties prop) throws SQLException
url - the URLprop - the propertiesSQLExceptionDriver.connect(java.lang.String, java.util.Properties)Copyright © 2015. All rights reserved.