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
public class SQLServerSnapshotIsolationConnectionProvider extends ConnectionProviderDelegate
ThisConnectionProviderextends 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SQLServerSnapshotIsolationConnectionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectiongetConnection()-
Methods inherited from class org.hibernate.testing.jdbc.ConnectionProviderDelegate
closeConnection, configure, getConnectionProvider, injectServices, isUnwrappableAs, setConnectionProvider, stop, supportsAggressiveRelease, unwrap
-
-
-
-
Method Detail
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Overrides:
getConnectionin classConnectionProviderDelegate- Throws:
SQLException
-
-