java.lang.Object
com.aoapps.sql.wrapper.DriverWrapper
com.aoapps.sql.failfast.FailFastDriver
- All Implemented Interfaces:
Driver
- Direct Known Subclasses:
Driver
Makes connections obtained from other drivers perform in a
fail-fast manner. All access to the connection will fail once a
SQLException
has been thrown by the
underlying driver, with this state only being cleared by rollback.- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FailFastConnectionImpl
newConnectionWrapper
(Connection connection) Methods inherited from class com.aoapps.sql.wrapper.DriverWrapper
acceptsURL, connect, getDriverMajorVersion, getDriverMinorVersion, getDriverName, getDriverVersion, getMajorVersion, getMinorVersion, getParentLogger, getPropertyInfo, getUrlPrefix, getVersion, jdbcCompliant, onDeregister, toString, toWrappedUrl, toWrapperUrl, wrapConnection
-
Constructor Details
-
FailFastDriver
protected FailFastDriver()
-
-
Method Details
-
newConnectionWrapper
- Overrides:
newConnectionWrapper
in classDriverWrapper
-