public class Driver extends AbstractArcDriver
This is different from most SQL drivers, in that there is shared state between all returned connections. This shared state allows things like fail conditions to be communicated quickly, allowing for intelligence of how to mitigate problems, and use potential secondary / slave servers as soon as possible.
In general the user does not need to concern themselves with this benefit. Just be aware that multiple connections will be established for every connection returned by this Driver.
Possible URL configuration options:
"optimizedStateUpdates=true" - Experimental internal code that can provide performance gains
| Constructor and Description |
|---|
Driver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(java.lang.String url) |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info) |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info) |
boolean |
jdbcCompliant() |
static void |
registerDriver()
Another way to register the driver.
|
getMajorVersion, getMinorVersionpublic static void registerDriver()
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean acceptsURL(java.lang.String url)
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean jdbcCompliant()
public java.util.logging.Logger getParentLogger()
throws java.sql.SQLFeatureNotSupportedException
java.sql.SQLFeatureNotSupportedException