public class SQLServerSnapshotIsolationConnectionProvider extends ConnectionProviderDelegate
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.Constructor and Description |
---|
SQLServerSnapshotIsolationConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Obtains a connection for Hibernate use according to the underlying strategy of this provider.
|
closeConnection, configure, getConnectionProvider, injectServices, isUnwrappableAs, setConnectionProvider, stop, supportsAggressiveRelease, unwrap
public SQLServerSnapshotIsolationConnectionProvider()
public Connection getConnection() throws SQLException
ConnectionProvider
getConnection
in interface ConnectionProvider
getConnection
in class ConnectionProviderDelegate
SQLException
- Indicates a problem opening a connectionCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.