| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
JDBC() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(java.lang.String url) |
Connection |
connect(java.lang.String url,
Hashtable info) |
static Connection |
createConnection(java.lang.String url,
Hashtable prop)
Creates a new database connection to a given URL.
|
int |
getMajorVersion() |
int |
getMinorVersion() |
DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
Hashtable info) |
static boolean |
isValidURL(java.lang.String url)
Validates a URL
|
boolean |
jdbcCompliant() |
public static final java.lang.String PREFIX
public int getMajorVersion()
getMajorVersion in interface DriverDriver.getMajorVersion()public int getMinorVersion()
getMinorVersion in interface DriverDriver.getMinorVersion()public boolean jdbcCompliant()
Driver.jdbcCompliant()public boolean acceptsURL(java.lang.String url)
acceptsURL in interface DriverDriver.acceptsURL(java.lang.String)public static boolean isValidURL(java.lang.String url)
url - public DriverPropertyInfo[] getPropertyInfo(java.lang.String url, Hashtable info) throws java.sql.SQLException
java.sql.SQLExceptionDriver.getPropertyInfo(java.lang.String, java.util.Properties)public Connection connect(java.lang.String url, Hashtable info) throws java.sql.SQLException
public static Connection createConnection(java.lang.String url, Hashtable prop) throws java.sql.SQLException
url - the URLprop - the propertiesjava.sql.SQLExceptionDriver.connect(java.lang.String, java.util.Properties)