Package org.hibernate.testing.jdbc
Class SQLServerSnapshotIsolationConnectionProvider
java.lang.Object
org.hibernate.testing.jdbc.ConnectionProviderDelegate
org.hibernate.testing.jdbc.SQLServerSnapshotIsolationConnectionProvider
- All Implemented Interfaces:
Serializable,org.hibernate.engine.jdbc.connections.spi.ConnectionProvider,org.hibernate.service.Service,org.hibernate.service.spi.Configurable,org.hibernate.service.spi.ServiceRegistryAwareService,org.hibernate.service.spi.Stoppable,org.hibernate.service.spi.Wrapped
This
ConnectionProvider extends any other ConnectionProvider that would be used by default taken the current configuration properties, and it
just sets the READ_COMMITTED_SNAPSHOT isolation level for SQL Server.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.hibernate.testing.jdbc.ConnectionProviderDelegate
closeConnection, configure, getConnectionProvider, getDatabaseConnectionInfo, getDatabaseConnectionInfo, injectServices, isUnwrappableAs, setConnectionProvider, stop, supportsAggressiveRelease, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
closeReadOnlyConnection, getReadOnlyConnection, handlesConnectionReadOnly, handlesConnectionSchema
-
Constructor Details
-
SQLServerSnapshotIsolationConnectionProvider
public SQLServerSnapshotIsolationConnectionProvider()
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Overrides:
getConnectionin classConnectionProviderDelegate- Throws:
SQLException
-