Class SQLServerSnapshotIsolationConnectionProvider

  • All Implemented Interfaces:
    java.io.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
    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:
    Serialized Form
    • Constructor Detail

      • SQLServerSnapshotIsolationConnectionProvider

        public SQLServerSnapshotIsolationConnectionProvider()
    • Method Detail

      • getConnection

        public java.sql.Connection getConnection()
                                          throws java.sql.SQLException
        Specified by:
        getConnection in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
        Overrides:
        getConnection in class ConnectionProviderDelegate
        Throws:
        java.sql.SQLException