public class Driver extends NonRegisteringDriver
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()
Construct a new driver and register it with
DriverManager. |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerDriver()
Another way to register the driver.
|
acceptsURL, connect, getParentLogger, getPropertyInfo, jdbcCompliantgetMajorVersion, getMinorVersion